source: trunk/src/scene.h @ 289

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

Change the way the Scene object works.

  • Property svn:keywords set to Id
File size: 742 bytes
Line 
1//
2// Lol Engine
3//
4// Copyright: (c) 2010-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 Scene class
13// ---------------
14//
15
16#if !defined __DH_SCENE_H__
17#define __DH_SCENE_H__
18
19#include <stdint.h>
20
21class SceneData;
22
23class Scene
24{
25public:
26    Scene(float angle);
27    ~Scene();
28
29    static Scene *GetDefault();
30    static void Reset();
31
32    void AddTile(uint32_t code, int x, int y, int z, int o);
33    void Render();
34
35private:
36    SceneData *data;
37};
38
39#endif // __DH_SCENE_H__
40
Note: See TracBrowser for help on using the repository browser.