Project Submission (late)

Dependencies:   mbed

Player/Player.h

Committer:
el17tc
Date:
2019-05-10
Revision:
0:72f372170a73
Child:
3:83e79d31930c

File content as of revision 0:72f372170a73:

#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