Changeset 9608 in orxonox.OLD for branches/proxy/src/world_entities/npcs/network_turret.h
- Timestamp:
- Jul 30, 2006, 11:08:47 AM (18 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/world_entities/npcs/network_turret.h
r9606 r9608 1 1 /*! 2 * @file ground_turret.h2 * @file network_turret.h 3 3 * @brief description 4 4 */ 5 5 6 #ifndef _ GROUND_TURRET_H7 #define _ GROUND_TURRET_H6 #ifndef _NETWORK_TURRET_H 7 #define _NETWORK_TURRET_H 8 8 9 9 #include "npcs/npc.h" … … 12 12 13 13 //! A Class to ... 14 class GroundTurret : public NPC14 class NetworkTurret : public NPC 15 15 { 16 16 17 18 GroundTurret(const TiXmlElement* root = NULL);19 virtual ~ GroundTurret();17 public: 18 NetworkTurret(const TiXmlElement* root = NULL); 19 virtual ~NetworkTurret(); 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 private: 35 PNode weaponHolder; 36 Weapon *weapon; 35 37 }; 36 38 37 #endif /* _ GROUND_TURRET_H */39 #endif /* _NETWORK_TURRET_H */
Note: See TracChangeset
for help on using the changeset viewer.