source:
orxonox.OLD/trunk/src/world_entities/weapons/turret.h
@
10771
Last change on this file since 10771 was 9869, checked in by bensch, 18 years ago | |
---|---|
File size: 475 bytes |
Rev | Line | |
---|---|---|
[4827] | 1 | /*! |
[4963] | 2 | * @file turret.h |
[3618] | 3 | */ |
4 | ||
5 | ||
[4963] | 6 | #ifndef _TURRET_H |
7 | #define _TURRET_H | |
[3618] | 8 | |
9 | #include "weapon.h" | |
10 | ||
[4963] | 11 | class Turret : public Weapon |
[4934] | 12 | { |
[9869] | 13 | ObjectListDeclaration(Turret); |
[4827] | 14 | public: |
[5750] | 15 | Turret (); |
[4973] | 16 | Turret(const TiXmlElement* root); |
[4963] | 17 | virtual ~Turret (); |
[3618] | 18 | |
[4973] | 19 | void init(); |
[6512] | 20 | virtual void loadParams(const TiXmlElement* root); |
[4973] | 21 | |
[4827] | 22 | virtual void activate(); |
23 | virtual void deactivate(); | |
[3618] | 24 | |
[4964] | 25 | virtual void tick(float dt); |
[4827] | 26 | virtual void fire(); |
[3618] | 27 | |
[3752] | 28 | |
[4827] | 29 | private: |
[4934] | 30 | }; |
[5511] | 31 | |
[4963] | 32 | #endif /* _TURRET_H */ |
Note: See TracBrowser
for help on using the repository browser.