Last change
on this file since 7485 was
6512,
checked in by bensch, 19 years ago
|
orxonox/trunk: loadParams is now virtual.
ALL THE CLASSES HAVE TO CALL
SuperClass::loadParams(root);
isntead of:
static_cast<SuperClass*>(this)→loadParams(root);
which was quite stupid anyways
|
File size:
625 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file proto_world_entity.h |
---|
3 | * @brief description |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _PROTO_WORLD_ENTITY_H |
---|
7 | #define _PROTO_WORLD_ENTITY_H |
---|
8 | |
---|
9 | #include "world_entity.h" |
---|
10 | |
---|
11 | //! A Class to ... |
---|
12 | class ProtoWorldEntity : public WorldEntity |
---|
13 | { |
---|
14 | |
---|
15 | public: |
---|
16 | ProtoWorldEntity(const TiXmlElement* root = NULL); |
---|
17 | virtual ~ProtoWorldEntity(); |
---|
18 | |
---|
19 | virtual void loadParams(const TiXmlElement* root); |
---|
20 | void init(); |
---|
21 | |
---|
22 | virtual void postSpawn (); |
---|
23 | virtual void leftWorld (); |
---|
24 | |
---|
25 | |
---|
26 | virtual void draw() const; |
---|
27 | virtual void tick(float time); |
---|
28 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
---|
29 | |
---|
30 | private: |
---|
31 | |
---|
32 | }; |
---|
33 | |
---|
34 | #endif /* _PROTO_WORLD_ENTITY_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.