source: trunk/src/world.h @ 183

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

Start creating the World class.

  • Property svn:keywords set to Id
File size: 622 bytes
Line 
1//
2// Deus Hax (working title)
3// Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
4//
5
6//
7// The World class
8// ---------------
9//
10
11#if !defined __DH_WORLD_H__
12#define __DH_WORLD_H__
13
14#include "entity.h"
15
16class WorldData;
17
18class World : public Entity
19{
20public:
21    World();
22    virtual ~World();
23
24protected:
25    /* Inherited from Entity */
26    virtual char const *GetName();
27    virtual Group GetGroup();
28    virtual void TickGame(float deltams);
29    virtual void TickDraw(float deltams);
30
31public:
32    /* New methods */
33    int GetWidth();
34    int GetHeight();
35
36private:
37    WorldData *data;
38};
39
40#endif // __DH_WORLD_H__
41
Note: See TracBrowser for help on using the repository browser.