source:
orxonox.OLD/trunk/src/proto/proto_world_entity.h
@
5577
Last change on this file since 5577 was 5509, checked in by bensch, 19 years ago | |
---|---|
File size: 617 bytes |
Rev | Line | |
---|---|---|
[4838] | 1 | /*! |
2 | * @file proto_world_entity.h | |
3 | * @brief description | |
[3245] | 4 | */ |
[1853] | 5 | |
[3761] | 6 | #ifndef _PROTO_WORLD_ENTITY_H |
7 | #define _PROTO_WORLD_ENTITY_H | |
[1853] | 8 | |
[3559] | 9 | #include "world_entity.h" |
[1853] | 10 | |
[3761] | 11 | //! A Class to ... |
[4838] | 12 | class ProtoWorldEntity : public WorldEntity |
[3559] | 13 | { |
[3543] | 14 | |
[1904] | 15 | public: |
[4838] | 16 | ProtoWorldEntity(const TiXmlElement* root = NULL); |
[3761] | 17 | virtual ~ProtoWorldEntity(); |
[4838] | 18 | |
[4483] | 19 | void loadParams(const TiXmlElement* root); |
[3564] | 20 | void init(); |
[4838] | 21 | |
[5509] | 22 | virtual void postSpawn (); |
23 | virtual void leftWorld (); | |
24 | ||
25 | ||
26 | virtual void draw() const; | |
[3762] | 27 | virtual void tick(float time); |
[5509] | 28 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
[3245] | 29 | |
30 | private: | |
[3761] | 31 | |
[1853] | 32 | }; |
33 | ||
[3761] | 34 | #endif /* _PROTO_WORLD_ENTITY_H */ |
Note: See TracBrowser
for help on using the repository browser.