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