summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--player.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/player.h b/player.h
index 0f00876..41f1928 100644
--- a/player.h
+++ b/player.h
@@ -4,10 +4,11 @@
#include "texture.h"
class Player {
- public:
+ protected:
float x, y, move_factor, focus_factor;
Texture *texture;
+ public:
Player();
void draw();
void update();