Changeset 9180 in orxonox.OLD for branches/presentation/src/world_entities/npcs/space_turret.h
- Timestamp:
- Jul 5, 2006, 12:49:40 AM (18 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/npcs/space_turret.h
r9178 r9180 1 1 /*! 2 * @file ground_turret.h2 * @file space_turret.h 3 3 * @brief description 4 4 */ 5 5 6 #ifndef _ GROUND_TURRET_H7 #define _ GROUND_TURRET_H6 #ifndef _SPACE_TURRET_H 7 #define _SPACE_TURRET_H 8 8 9 9 #include "npcs/npc.h" … … 12 12 13 13 //! A Class to ... 14 class GroundTurret : public NPC14 class SpaceTurret : public NPC 15 15 { 16 16 17 18 GroundTurret(const TiXmlElement* root = NULL);19 virtual ~ GroundTurret();17 public: 18 SpaceTurret(const TiXmlElement* root = NULL); 19 virtual ~SpaceTurret(); 20 20 21 void init();22 21 virtual void loadParams(const TiXmlElement* root); 23 22 … … 30 29 virtual void tick(float time); 31 30 32 private: 33 PNode weaponHolder[2]; 34 Weapon *left, *right; 31 private: 32 void init(); 33 34 35 private: 36 PNode weaponHolder[2]; 37 Weapon *left, *right; 35 38 }; 36 39 37 #endif /* _ GROUND_TURRET_H */40 #endif /* _SPACE_TURRET_H */
Note: See TracChangeset
for help on using the changeset viewer.