summaryrefslogtreecommitdiffstats
path: root/Player.h
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2011-11-29 14:23:04 +0100
committerDominique Martinet <asmadeus@codewreck.org>2011-11-29 14:23:04 +0100
commitf6e512372eae12830050e9f0dcdd64cf7a322fac (patch)
tree3978f107ca7ee73104531464f98ad07c558bd098 /Player.h
parent321813c03cf1ce6203d6f80d217633448548e418 (diff)
fixed turn (someone gotta explain me why it didn't work) and added debugs
Diffstat (limited to 'Player.h')
-rw-r--r--Player.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Player.h b/Player.h
index 5798631..7f25a44 100644
--- a/Player.h
+++ b/Player.h
@@ -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