source: trunk/monsterz/game.h @ 289

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

Change the way the Scene object works.

  • Property svn:keywords set to Id
File size: 825 bytes
Line 
1//
2// Monsterz
3//
4// Copyright: (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
10
11//
12// The Game class
13// --------------
14//
15
16#if !defined __DH_GAME_H__
17#define __DH_GAME_H__
18
19#include "entity.h"
20
21class GameData;
22
23class Game : public Entity
24{
25public:
26    Game();
27    ~Game();
28
29protected:
30    /* Inherited from Entity */
31    virtual void TickGame(float deltams);
32    virtual void TickDraw(float deltams);
33
34public:
35    /* New methods */
36    void SetMouse(int x, int y);
37    void Quit();
38    int Finished();
39
40private:
41    GameData *data;
42};
43
44#endif // __DH_GAME_H__
45
Note: See TracBrowser for help on using the repository browser.