aboutsummaryrefslogtreecommitdiff
path: root/src/core/player.hpp
blob: 2580e7ad278a0b11acfb899470e313ffaa77c366 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef PLAYER_H
#define PLAYER_H
#include "smmath.hpp"
#include "smentity.hpp"
class playerBase
{
private:
	smEntity2D* playerent;
	static SMELT* sm;
public:
	smvec2d pos;
	double rot,vel,velp;
	int plyrctl[6],coll,scoll;

	playerBase(double _x=400,double _y=400);
	~playerBase();
	void update();
	void render();
};
extern playerBase* player;
#endif