Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/chris/src/player.h @ 2102

Last change on this file since 2102 was 2101, checked in by chris, 21 years ago

orxonox/branches/chris: Finished the "GETITTOCOMPILE" project… compiling should work now, but linking is a different story

File size: 736 bytes
RevLine 
[1853]1
2#ifndef PLAYER_H
3#define PLAYER_H
4
[2058]5#include "world_entity.h"
[1853]6
[2058]7class Player : public WorldEntity
8{
[2096]9        friend class World;
[2058]10
[1853]11 public:
[2101]12  Player (bool isFree = false);
[1853]13  ~Player ();
14
[2096]15        virtual void post_spawn ();
16  virtual void tick (float time);
17  virtual void hit (WorldEntity* weapon, Vector loc);
18  virtual void destroy ();
19  virtual void collide (WorldEntity* other,  Uint32 ownhitflags, Uint32 otherhitflags);
20        virtual void command (Command* cmd);
[1900]21 
[2096]22  virtual void draw ();
23  virtual void get_lookat (Location* locbuf);
[1899]24
[2096]25        virtual void left_world ();
[2058]26
[1856]27 private:
[2096]28        bool bUp, bDown, bLeft, bRight, bAscend, bDescend;
29        bool bFire;
30        Vector velocity;
31        float travel_speed;
32        float acceleration;
33       
34        void move (float time);
35       
[1853]36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.