aboutsummaryrefslogtreecommitdiff
path: root/src/core/player.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2015-10-02 23:48:34 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2015-10-02 23:48:34 +0800
commitb9d4b60486e224261990c0732852513e86dd94ff (patch)
tree9f9dd20a888875833af11dc7a67b849a74825b5b /src/core/player.hpp
parentabffe5f72dfb39da8d480ce3c4b546404684a060 (diff)
downloadbullet-lab-remix-b9d4b60486e224261990c0732852513e86dd94ff.tar.xz
Add BLR3 files. Modify Readme.
Currently BLR3 is VERY primitive!!
Diffstat (limited to 'src/core/player.hpp')
-rw-r--r--src/core/player.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/core/player.hpp b/src/core/player.hpp
new file mode 100644
index 0000000..408c174
--- /dev/null
+++ b/src/core/player.hpp
@@ -0,0 +1,21 @@
+#ifndef PLAYER_H
+#define PLAYER_H
+#include "smmath.hpp"
+#include "smentity.hpp"
+class playerBase
+{
+private:
+ smEntity2D* playerent;
+ static SMELT* sm;
+public:
+ smvec2d pos;
+ float rot,vel,velp;
+ int plyrctl[6];
+
+ playerBase(float _x=400,float _y=400);
+ ~playerBase();
+ void update();
+ void render();
+};
+extern playerBase* player;
+#endif