Project Submission (late)
Dependencies: mbed
Diff: Player/Player.h
- Revision:
- 0:72f372170a73
- Child:
- 3:83e79d31930c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Player/Player.h Fri May 10 08:07:10 2019 +0000 @@ -0,0 +1,23 @@ +#ifndef PLAYER_H +#define PLAYER_H + +#include "Maze.h" +#include "Vector2Di.h" + +class Player { + + public: + Player(Maze* maze); + bool checkLocation(Vector2Di origin, double angle, int checkVal); + void walk(); + void turnLeft(); + void turnRight(); + void stepBack(); + + Vector2Di pos; + Vector2Di direction; + Maze* maze; + +}; + +#endif // PLAYER_H \ No newline at end of file