D:/Development/Projects/X-Clone/X-Clone/trunk/Input.h

Go to the documentation of this file.
00001 #ifndef XCLONE_INPUT_H
00002 #define XCLONE_INPUT_H
00003 
00004 #include "includes.h"
00005 #include "Singleton.h"
00006 
00007 enum InputMode { command, chat };
00008 
00009 class Input : public Singleton<Input>
00010 {
00011    friend class Singleton<Input>;
00012 
00013    public:
00014       void processSDLEvent(SDL_Event& event);
00015 
00016       Point getMousePosition() const;
00017 
00018    private:
00019       Input();
00020       InputMode _mode;
00021       std::string _str;
00022 };
00023 
00024 #endif

Generated on Fri Sep 22 06:00:26 2006 for X-CLONE by  doxygen 1.4.7