24 lines
337 B
C++
24 lines
337 B
C++
//
|
|
// Created by trotfunky on 27/05/19.
|
|
//
|
|
|
|
#ifndef RAYCASTING_PLAYER_H
|
|
#define RAYCASTING_PLAYER_H
|
|
|
|
|
|
class Player {
|
|
public:
|
|
Player(float x, float y, float alpha);
|
|
|
|
float x;
|
|
float y;
|
|
float orientation;
|
|
|
|
float fov = 70;
|
|
|
|
void move(float dx, float dy);
|
|
void rotate(int alpha);
|
|
};
|
|
|
|
|
|
#endif //RAYCASTING_PLAYER_H
|