Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3229 in orxonox.OLD


Ignore:
Timestamp:
Dec 20, 2004, 12:35:33 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: unstable - WorldEntity cleaned

Location:
orxonox/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entity.cc

    r2822 r3229  
    5353   \return a pointer to location
    5454*/
    55 Location* WorldEntity::get_location ()
     55Location* WorldEntity::getLocation ()
    5656{
    5757  return &loc;
     
    6262   \return a pointer to placement
    6363*/
    64 Placement* WorldEntity::get_placement ()
     64Placement* WorldEntity::getPlacement ()
    6565{
    6666  return &place;
     
    8282   Any previously assigned collision hull will be deleted on reassignment
    8383*/
    84 void WorldEntity::set_collision (CollisionCluster* newhull)
     84void WorldEntity::setCollision (CollisionCluster* newhull)
    8585{
    8686  if( newhull == NULL) return;
     
    159159   DO NOT place such code in the constructor, those variables are set AFTER the entity is constucted.
    160160*/
    161 void WorldEntity::post_spawn ()
     161void WorldEntity::postSpawn ()
    162162{
    163163}
     
    181181   to look at the location you return with this.
    182182*/
    183 void WorldEntity::get_lookat (Location* locbuf)
     183void WorldEntity::getLookat (Location* locbuf)
    184184{
    185185}
     
    191191   place that is not in the world anymore. In both cases you might have to take extreme measures (a.k.a. call destroy).
    192192*/
    193 void WorldEntity::left_world ()
     193void WorldEntity::leftWorld ()
    194194{
    195195}
  • orxonox/trunk/src/world_entity.h

    r3224 r3229  
    2020  virtual ~WorldEntity ();
    2121 
    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);
    2525 
    2626  bool isFree ();
     
    2929  //void removeAbility(Ability* ability);
    3030 
    31   virtual void post_spawn ();
     31  virtual void postSpawn ();
    3232  virtual void tick (float time);
    3333  virtual void hit (WorldEntity* weapon, Vector loc);
     
    3737 
    3838  virtual void draw ();
    39   virtual void get_lookat (Location* locbuf);
     39  virtual void getLookat (Location* locbuf);
    4040 
    41   virtual void left_world ();
     41  virtual void leftWorld ();
    4242 
    4343 private:
Note: See TracChangeset for help on using the changeset viewer.