source: trunk/src/game.h @ 102

Last change on this file since 102 was 102, checked in by sam, 11 years ago

Implement a quit() mechanism in the Game class.

  • Property svn:keywords set to Id
File size: 411 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
14class GameData;
15
16class Game
17{
18public:
19    Game(char const *mapname);
20    ~Game();
21
22    void SetMouse(int x, int y);
23    void Render();
[102]24    void Quit();
25    int Finished();
[79]26
27private:
28    GameData *data;
29};
30
31#endif // __DH_GAME_H__
32
Note: See TracBrowser for help on using the repository browser.