fysxasteroids/asteroids/MenuOverlay.h

42 lines
679 B
C++

#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 */