source:
orxonox.OLD/trunk/src/world_entities/weapons/turret.h
@
5577
Last change on this file since 5577 was 5511, checked in by bensch, 19 years ago | |
---|---|
File size: 519 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 | { |
[4827] | 13 | public: |
[4963] | 14 | Turret (WeaponManager* weaponManager); |
[4973] | 15 | Turret(const TiXmlElement* root); |
[4963] | 16 | virtual ~Turret (); |
[3618] | 17 | |
[4973] | 18 | void init(); |
19 | void loadParams(const TiXmlElement* root); | |
20 | ||
[4827] | 21 | virtual void activate(); |
22 | virtual void deactivate(); | |
[3618] | 23 | |
[4964] | 24 | virtual void tick(float dt); |
[4827] | 25 | virtual void fire(); |
26 | virtual void destroy(); | |
[3618] | 27 | |
[5500] | 28 | virtual void draw() const; |
[3752] | 29 | |
[4827] | 30 | private: |
[4934] | 31 | }; |
[5511] | 32 | |
[4963] | 33 | #endif /* _TURRET_H */ |
Note: See TracBrowser
for help on using the repository browser.