#ifndef MENUOVERLAY #define MENUOVERLAY namespace Engine { class OverlayBase; } #include "OverlayBase.h" #include "Sprite.h" namespace asteroids { class Model; class View; class MenuOverlay : public Engine::OverlayBase { public: MenuOverlay () { }; virtual 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; }; void SetView (View *view) { mView = view; }; private: Model *mModel; View *mView; Engine::Sprite mShipSprite; }; } #endif /* MENUOVERLAY */