Last change
on this file since 10619 was
10067,
checked in by snellen, 18 years ago
|
adapted the proto_world_entity.* to the classlistframework, start implementation of heathaze
|
File size:
668 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 | ObjectListDeclaration(ProtoWorldEntity); |
---|
16 | |
---|
17 | public: |
---|
18 | ProtoWorldEntity(const TiXmlElement* root = NULL); |
---|
19 | virtual ~ProtoWorldEntity(); |
---|
20 | |
---|
21 | virtual void loadParams(const TiXmlElement* root); |
---|
22 | void init(); |
---|
23 | |
---|
24 | virtual void postSpawn (); |
---|
25 | virtual void leftWorld (); |
---|
26 | |
---|
27 | |
---|
28 | virtual void draw() const; |
---|
29 | virtual void tick(float time); |
---|
30 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
---|
31 | |
---|
32 | private: |
---|
33 | |
---|
34 | }; |
---|
35 | |
---|
36 | #endif /* _PROTO_WORLD_ENTITY_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.