Changeset 9162 in orxonox.OLD for branches/presentation/src/world_entities/npcs
- Timestamp:
- Jul 4, 2006, 6:15:10 PM (19 years ago)
- Location:
- branches/presentation/src/world_entities/npcs
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/npcs/generic_npc.cc
r9145 r9162 581 581 582 582 583 void GenericNPC::destroy( )583 void GenericNPC::destroy(WorldEntity* killer) 584 584 { 585 585 int randi = (int)(5.0f * (float)rand()/(float)RAND_MAX); -
branches/presentation/src/world_entities/npcs/generic_npc.h
r9061 r9162 77 77 78 78 79 v oid destroy();79 virtual void destroy(WorldEntity* killer); 80 80 81 81 private: -
branches/presentation/src/world_entities/npcs/ground_turret.cc
r8777 r9162 176 176 } 177 177 178 void GroundTurret::destroy( )178 void GroundTurret::destroy(WorldEntity* killer) 179 179 { 180 180 this->setAbsDirSoft(Quaternion(-90, Vector(0,0,1)), 90); -
branches/presentation/src/world_entities/npcs/ground_turret.h
r7954 r9162 25 25 virtual void leftWorld (); 26 26 27 virtual void destroy( );27 virtual void destroy(WorldEntity* killer); 28 28 29 29 virtual void draw() const;
Note: See TracChangeset
for help on using the changeset viewer.