fysxasteroids/asteroids/MenuOverlay.h

42 lines
679 B
C
Raw Normal View History

2010-04-05 23:38:59 +02:00
#ifndef MENUOVERLAY
#define MENUOVERLAY
namespace Engine {
class OverlayBase;
}
#include "OverlayBase.h"
#include "Sprite.h"
namespace asteroids {
class Model;
class MenuOverlay : public Engine::OverlayBase {
public:
MenuOverlay () {
};
void Init ();
virtual ~MenuOverlay() {};
virtual bool OnKeyDown (const SDL_keysym &keysym);
virtual void Draw ();
void DrawGameOverScreen ();
void DrawGameMenu();
void DrawGameLevelComplete ();
void DrawGamePaused ();
void DrawGameRunning ();
void DrawPlayerDied ();
void SetModel (Model *model) { mModel = model; };
private:
Model *mModel;
Engine::Sprite mShipSprite;
};
}
#endif /* MENUOVERLAY */