Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3620 in orxonox.OLD for orxonox/trunk/src/world_entities/player.h


Ignore:
Timestamp:
Mar 21, 2005, 5:37:58 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: added worldinterface, to enable all worldentities to access the entities list. so they can add entities themselfes. this is a nice hack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/player.h

    r3608 r3620  
    1313class Weapon;
    1414class Vector;
     15class World;
    1516
    1617//! Basic controllable WorldEntity
     
    2021 
    2122 public:
    22   Player(bool isFree = false);
     23  Player();
    2324  virtual ~Player();
    2425
     
    4849  tList<Weapon>* weapons;//!< a list of weapon
    4950  Weapon* activeWeapon;  //!< the weapon that is currenty activated
     51  World* myWorld;        //!< reference to the world object
    5052
    5153  Vector* velocity;       //!< the velocity of the player.
     
    5456 
    5557  void move(float time);
    56   void fire(void);
     58  void weapon(void);
    5759 
    5860};
Note: See TracChangeset for help on using the changeset viewer.