Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

KeyboardController.h

Go to the documentation of this file.
00001 
00007 #ifndef _KEYBOARDCONTROLLER_H_
00008 #define _KEYBOARDCONTROLLER_H_
00009 
00010 #include "Controller.h"
00011 #include "Character.h"
00012 
00016 struct KeyboardSettings {
00017     int left;
00018     int right;
00019     int up;
00020     int down;
00021     int bomb;
00022     int homing;
00023 };
00024 
00029 class KeyboardController : public Controller {
00030 
00031 public:
00032 
00036     KeyboardController();
00037 
00044     KeyboardController( Character* c, const KeyboardSettings& ks );
00045 
00049     ~KeyboardController();
00050 
00056     virtual void control( float dt );
00057 
00058 private:
00059 
00063     KeyboardSettings keySettings;
00064 
00068     bool homingKeyDown;
00069 
00070 };
00071 
00072 #endif

Generated on Tue Mar 4 02:29:25 2003 for SuperIsoBomb by doxygen1.2.18