source: trunk/deushax/game.h @ 664

Last change on this file since 664 was 289, checked in by sam, 10 years ago

Change the way the Scene object works.

  • Property svn:keywords set to Id
File size: 587 bytes
RevLine 
[100]1//
2// Deus Hax (working title)
3// Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
4//
[79]5
[100]6//
7// The Game class
8// --------------
9//
[79]10
11#if !defined __DH_GAME_H__
12#define __DH_GAME_H__
13
[147]14#include "entity.h"
[106]15
[79]16class GameData;
17
[147]18class Game : public Entity
[79]19{
20public:
21    Game(char const *mapname);
22    ~Game();
23
[106]24protected:
[147]25    /* Inherited from Entity */
[149]26    virtual void TickGame(float deltams);
[154]27    virtual void TickDraw(float deltams);
[106]28
29public:
30    /* New methods */
[79]31    void SetMouse(int x, int y);
[102]32    void Quit();
33    int Finished();
[79]34
35private:
36    GameData *data;
37};
38
39#endif // __DH_GAME_H__
40
Note: See TracBrowser for help on using the repository browser.