12345678910111213141516171819202122232425262728 |
- #ifndef _gamestate_H_
- #define _gamestate_H_
- //////////////////////////////////////////////////////////////////////////////
- //
- // Game State Container
- //
- //////////////////////////////////////////////////////////////////////////////
- class GameStateContainer : public IObject {
- public:
- virtual TRef<Image> GetImage() = 0;
- virtual TRef<IEngineFont> GetFont() = 0;
- virtual TRef<StringPane> AddGameStateTile(const ZString& strTitle, Pane* ppane) = 0;
- virtual void SetTimeRemaining(int seconds) = 0;
- virtual void SetTimeElapsed(int seconds) = 0;
- virtual IEventSource* GetCloseEvent() = 0;
- };
- TRef<GameStateContainer> CreateGameStateContainer(
- Modeler* pmodeler,
- IEngineFont* pfontTitles,
- IEngineFont* pfontTime,
- ButtonPane* pbutton
- );
- #endif
|