Last change
on this file since 6428 was
6341,
checked in by bensch, 19 years ago
|
orxonox/trunk: merged the network branche back to the trunk, so we do not get away from each other to fast
|
File size:
749 bytes
|
Rev | Line | |
---|
[5596] | 1 | /*! |
---|
| 2 | * @file ground_turret.h |
---|
| 3 | * @brief description |
---|
| 4 | */ |
---|
| 5 | |
---|
| 6 | #ifndef _GROUND_TURRET_H |
---|
| 7 | #define _GROUND_TURRET_H |
---|
| 8 | |
---|
[5685] | 9 | #include "npcs/npc.h" |
---|
[5596] | 10 | |
---|
[5740] | 11 | class Weapon; |
---|
| 12 | |
---|
[5596] | 13 | //! A Class to ... |
---|
[5681] | 14 | class GroundTurret : public NPC |
---|
[5596] | 15 | { |
---|
| 16 | |
---|
| 17 | public: |
---|
[5679] | 18 | GroundTurret(const TiXmlElement* root = NULL); |
---|
| 19 | virtual ~GroundTurret(); |
---|
[5596] | 20 | |
---|
[5795] | 21 | void init(); |
---|
[5596] | 22 | void loadParams(const TiXmlElement* root); |
---|
| 23 | |
---|
| 24 | virtual void postSpawn (); |
---|
| 25 | virtual void leftWorld (); |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | virtual void draw() const; |
---|
[5739] | 29 | virtual void tick(float time); |
---|
[5596] | 30 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
---|
| 31 | |
---|
[6341] | 32 | virtual int writeBytes(const byte* data, int length, int sender); |
---|
| 33 | virtual int readBytes(byte* data, int maxLength, int * reciever); |
---|
| 34 | |
---|
[5596] | 35 | private: |
---|
[5740] | 36 | Weapon *left, *right; |
---|
[5596] | 37 | }; |
---|
| 38 | |
---|
| 39 | #endif /* _GROUND_TURRET_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.