Changeset 5740 in orxonox.OLD for branches/world_entities/src
- Timestamp:
- Nov 23, 2005, 3:49:05 PM (19 years ago)
- Location:
- branches/world_entities/src/world_entities/weapons
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/world_entities/src/world_entities/weapons/ground_turret.cc
r5739 r5740 17 17 #include "factory.h" 18 18 #include "model.h" 19 #include "turret.h" 19 20 20 21 CREATE_FACTORY(GroundTurret, CL_GROUND_TURRET); … … 52 53 this->setClassID(CL_GROUND_TURRET, "GroundTurret"); 53 54 this->loadModel("models/ground_turret.obj", 5); 54 55 left = new Turret(); 56 left->setParent(this); 57 left->setRelCoor(0,10,0); 58 right = new Turret(); 59 right->setParent(this); 60 right->setRelCoor(0,10,0); 55 61 } 56 62 … … 101 107 if (model) 102 108 model->draw(); 109 //left->draw(); 110 //right->draw(); 103 111 glPopMatrix(); 104 112 } -
branches/world_entities/src/world_entities/weapons/ground_turret.h
r5739 r5740 8 8 9 9 #include "npcs/npc.h" 10 11 class Weapon; 10 12 11 13 //! A Class to ... … … 29 31 30 32 private: 31 33 Weapon *left, *right; 32 34 }; 33 35 -
branches/world_entities/src/world_entities/weapons/turret.h
r5511 r5740 12 12 { 13 13 public: 14 Turret (WeaponManager* weaponManager );14 Turret (WeaponManager* weaponManager = NULL); 15 15 Turret(const TiXmlElement* root); 16 16 virtual ~Turret ();
Note: See TracChangeset
for help on using the changeset viewer.