From 2626d880a58b99ff70e43f36575517c3fbb2c7b9 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Fri, 21 May 2010 02:39:26 +0200 Subject: Move class Player's members to protected. --- player.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3