summaryrefslogtreecommitdiff
path: root/engine/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'engine/player.h')
-rw-r--r--engine/player.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/engine/player.h b/engine/player.h
new file mode 100644
index 0000000..41f1928
--- /dev/null
+++ b/engine/player.h
@@ -0,0 +1,17 @@
+#ifndef _PLAYER_H_
+#define _PLAYER_H_
+
+#include "texture.h"
+
+class Player {
+ protected:
+ float x, y, move_factor, focus_factor;
+ Texture *texture;
+
+ public:
+ Player();
+ void draw();
+ void update();
+};
+
+#endif