From 938c08ae589eaa9b0cafc02478997f34bf7d598d Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 16 Sep 2011 20:31:11 +0200 Subject: CGE: Get rid of some more global functions and static members --- engines/cge/game.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'engines/cge/game.h') diff --git a/engines/cge/game.h b/engines/cge/game.h index 88ef4344ba..4d5acf7371 100644 --- a/engines/cge/game.h +++ b/engines/cge/game.h @@ -32,17 +32,20 @@ namespace CGE { +enum { + kFlyL = 20, + kFlyT = 40, + kFlyR = 110, + kFlyB = 100 +}; + class Fly : public Sprite { - static const int _l; - static const int _t; - static const int _r; - static const int _b; +private: + CGEEngine *_vm; public: int _tx, _ty; Fly(CGEEngine *vm, Bitmap **shpl); void tick(); -private: - CGEEngine *_vm; }; } // End of namespace CGE -- cgit v1.2.3