C:/Documents and Settings/jegan/Desktop/projectX/Control.h

Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include "Object.h"
00004 #include <vector>
00005 
00006 class Control
00007 {
00008 public:
00009         static void update();
00010         static void registerController( Object* o );
00011         static void detachController( Object* o );
00012         static void detachAllControllers();
00013 
00014         static std::string getString( int keysym);
00015 
00016         static SDLKey upKey;
00017         static SDLKey downKey;
00018         static SDLKey leftKey;
00019         static SDLKey rightKey;
00020         static SDLKey shoot1Key;
00021         static SDLKey shoot2Key;
00022         static SDLKey altShoot1Key;
00023         static SDLKey altShoot2Key;
00024         static SDLKey jumpKey;
00025         static SDLKey skipKey;
00026         static SDLKey selectKey;
00027         static SDLKey menuUpKey;
00028         static SDLKey menuDownKey;
00029         static SDLKey quitKey;
00030 
00031 private:
00032         static std::vector< Object* > _controllers;
00033 };

Generated on Fri May 5 00:20:18 2006 for ProjectX by  doxygen 1.4.6-NO