summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-05-21 02:39:26 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-05-21 02:39:26 +0200
commit2626d880a58b99ff70e43f36575517c3fbb2c7b9 (patch)
tree1e1f9d30ed5526ff042ee2df0285c1c0bfb20a04
parentbd948fec3d82e117c0d66a435af949182adf2477 (diff)
Move class Player's members to protected.
-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();