source:
orxonox.OLD/branches/heathaze/src/proto/proto_world_entity.h
@
10067
Last change on this file since 10067 was 10067, checked in by snellen, 17 years ago | |
---|---|
File size: 668 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 | |
[10067] | 15 | ObjectListDeclaration(ProtoWorldEntity); |
16 | ||
[1904] | 17 | public: |
[4838] | 18 | ProtoWorldEntity(const TiXmlElement* root = NULL); |
[3761] | 19 | virtual ~ProtoWorldEntity(); |
[4838] | 20 | |
[6512] | 21 | virtual void loadParams(const TiXmlElement* root); |
[3564] | 22 | void init(); |
[4838] | 23 | |
[5509] | 24 | virtual void postSpawn (); |
25 | virtual void leftWorld (); | |
26 | ||
27 | ||
28 | virtual void draw() const; | |
[3762] | 29 | virtual void tick(float time); |
[5509] | 30 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
[3245] | 31 | |
32 | private: | |
[3761] | 33 | |
[1853] | 34 | }; |
35 | ||
[3761] | 36 | #endif /* _PROTO_WORLD_ENTITY_H */ |
Note: See TracBrowser
for help on using the repository browser.