Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/single_player_map/src/world_entities/door.h @ 8872

Last change on this file since 8872 was 8872, checked in by patrick, 18 years ago

more door work

File size: 509 bytes
Line 
1#ifndef _DOOR_H
2#define _DOOR_H
3
4#include "world_entity.h"
5
6
7class TiXmlElement;
8
9
10class Door : public WorldEntity
11{
12  public:
13    Door ();
14    Door(const TiXmlElement* root);
15    virtual ~Door ();
16
17    void init();
18    virtual void loadParams(const TiXmlElement* root);
19
20    void setAnim(int animationIndex, int animPlaybackMode);
21
22    virtual void tick (float time);
23
24  private:
25    void checkOpen();
26
27  private:
28    bool           bOpen;             //!< true if the door is open
29
30};
31
32#endif /* _DOOR_H */
Note: See TracBrowser for help on using the repository browser.