source: trunk/games/ToukyDemo/ToukyDemo.h @ 1547

Last change on this file since 1547 was 1547, checked in by touky, 7 years ago

Added basic character logic.

File size: 720 bytes
Line 
1//
2// ToukyDemo
3//
4// Copyright: (c) 2009-2012 Cédric Lecacheur <jordx@free.fr>
5//            (c) 2009-2012 Benjamin Huet <huet.benjamin@gmail.com>
6//            (c) 2012 Sam Hocevar <sam@hocevar.net>
7//
8
9#if !defined __TOUKYDEMO_H__
10#define __TOUKYDEMO_H__
11
12#include "UserReactiveObject.h"
13#include "Character.h"
14
15class ToukyDemo : public WorldEntity
16{
17public:
18    ToukyDemo(bool editor = false);
19    virtual ~ToukyDemo();
20
21    char const *GetName() { return "<ToukyDemo>"; }
22
23protected:
24    virtual void TickGame(float seconds);
25    virtual void TickDraw(float seconds);
26
27private:
28    Camera*                                     m_camera;
29        UserReactiveObject*             m_URO;
30        Character*                              m_Character;
31    bool                                        m_ready;
32};
33
34#endif // __TOUKYDEMO_H__
35
Note: See TracBrowser for help on using the repository browser.