diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2011-11-29 14:23:04 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2011-11-29 14:23:04 +0100 |
commit | f6e512372eae12830050e9f0dcdd64cf7a322fac (patch) | |
tree | 3978f107ca7ee73104531464f98ad07c558bd098 /Player.h | |
parent | 321813c03cf1ce6203d6f80d217633448548e418 (diff) |
fixed turn (someone gotta explain me why it didn't work) and added debugs
Diffstat (limited to 'Player.h')
-rw-r--r-- | Player.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -12,6 +12,7 @@ class Controller; class Player
{
public:
+ Player(void);
Player(PlayerNumber PlayerID, Coordinates InitialPoint, VelocityVector initialVel);
virtual ~Player(void);
@@ -22,6 +23,10 @@ public: **/
std::vector<Coordinates> move();
void setVelocityVector(VelocityVector v);
+ void setCoordinates(Coordinates c);
+ void setNumber(PlayerNumber n);
+ void revive();
+
/**
* Tries to change the direction the player is facing.
* Returns false and do nothing if the player is heading the opposite
|