Changeset 3229 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Dec 20, 2004, 12:35:33 AM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entity.cc
r2822 r3229 53 53 \return a pointer to location 54 54 */ 55 Location* WorldEntity::get _location ()55 Location* WorldEntity::getLocation () 56 56 { 57 57 return &loc; … … 62 62 \return a pointer to placement 63 63 */ 64 Placement* WorldEntity::get _placement ()64 Placement* WorldEntity::getPlacement () 65 65 { 66 66 return &place; … … 82 82 Any previously assigned collision hull will be deleted on reassignment 83 83 */ 84 void WorldEntity::set _collision (CollisionCluster* newhull)84 void WorldEntity::setCollision (CollisionCluster* newhull) 85 85 { 86 86 if( newhull == NULL) return; … … 159 159 DO NOT place such code in the constructor, those variables are set AFTER the entity is constucted. 160 160 */ 161 void WorldEntity::post _spawn ()161 void WorldEntity::postSpawn () 162 162 { 163 163 } … … 181 181 to look at the location you return with this. 182 182 */ 183 void WorldEntity::get _lookat (Location* locbuf)183 void WorldEntity::getLookat (Location* locbuf) 184 184 { 185 185 } … … 191 191 place that is not in the world anymore. In both cases you might have to take extreme measures (a.k.a. call destroy). 192 192 */ 193 void WorldEntity::left _world ()193 void WorldEntity::leftWorld () 194 194 { 195 195 } -
orxonox/trunk/src/world_entity.h
r3224 r3229 20 20 virtual ~WorldEntity (); 21 21 22 Location* get _location ();23 Placement* get _placement ();24 void set _collision (CollisionCluster* newhull);22 Location* getLocation (); 23 Placement* getPlacement (); 24 void setCollision (CollisionCluster* newhull); 25 25 26 26 bool isFree (); … … 29 29 //void removeAbility(Ability* ability); 30 30 31 virtual void post _spawn ();31 virtual void postSpawn (); 32 32 virtual void tick (float time); 33 33 virtual void hit (WorldEntity* weapon, Vector loc); … … 37 37 38 38 virtual void draw (); 39 virtual void get _lookat (Location* locbuf);39 virtual void getLookat (Location* locbuf); 40 40 41 virtual void left _world ();41 virtual void leftWorld (); 42 42 43 43 private:
Note: See TracChangeset
for help on using the changeset viewer.