00001
00026 #ifndef _GAMEOBJECT2DMANAGER_H_
00027 #define _GAMEOBJECT2DMANAGER_H_
00028
00029 #include "Singleton.h"
00030 #include "Collection.h"
00031 #include "GameObject2D.h"
00032 #include "Mouseable.h"
00033 #include "KeyListener.h"
00034
00035 class CGameObject2DManager: public CSingleton<CGameObject2DManager> ,
00036 public CCollection<CGameObject2D> ,
00037 public CUpdateable,
00038 public CMouseable,
00039 public CKeyListener {
00040 public:
00041 CGameObject2DManager();
00042 virtual ~CGameObject2DManager();
00043
00044 void update();
00045 void mouseMove(int x, int y);
00046 void mouseButtons(int button, int state, int x, int y);
00047 void keyboard(unsigned char key, int x, int y);
00048 void keyboardSpecial(int key, int x, int y);
00049
00050 };
00051
00052 #endif