Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2551 in orxonox.OLD for orxonox/trunk/src/player.h


Ignore:
Timestamp:
Oct 11, 2004, 12:53:43 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: minor changes - enhanced sc controll, fixed uncontrolled rotation effect, added some debug outputs for testing purposes, reformatted some src files from win style but not all

File:
1 edited

Legend:

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

    r2190 r2551  
    1212class Player : public WorldEntity
    1313{
    14         friend class World;
    15 
     14  friend class World;
     15 
    1616 public:
    1717  Player (bool isFree = false);
    1818  ~Player ();
    19 
    20         virtual void post_spawn ();
     19 
     20  virtual void post_spawn ();
    2121  virtual void tick (float time);
    2222  virtual void hit (WorldEntity* weapon, Vector loc);
    2323  virtual void destroy ();
    2424  virtual void collide (WorldEntity* other,  Uint32 ownhitflags, Uint32 otherhitflags);
    25         virtual void command (Command* cmd);
     25  virtual void command (Command* cmd);
    2626 
    2727  virtual void draw ();
    2828  virtual void get_lookat (Location* locbuf);
    29 
    30         virtual void left_world ();
    31 
     29 
     30  virtual void left_world ();
     31 
    3232 private:
    33         bool bUp, bDown, bLeft, bRight, bAscend, bDescend;
    34         bool bFire;
    35         Vector velocity;
    36         float travel_speed;
    37         float acceleration;
    38         
    39         void move (float time);
    40         
     33  bool bUp, bDown, bLeft, bRight, bAscend, bDescend;
     34  bool bFire;
     35  Vector velocity;
     36  float travel_speed;
     37  float acceleration;
     38  
     39  void move (float time);
     40  
    4141};
    4242
Note: See TracChangeset for help on using the changeset viewer.