Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
E:/Programming/MyProject/K_Game_hg/GameEngine/include/input/Mouse.h
Go to the documentation of this file.
00001 // Copyright 2006-2011 by Kat'Oun
00002 
00003 #ifndef _MOUSE_H_
00004 #define _MOUSE_H_
00005 
00006 #include <EngineConfig.h>
00007 #include <core/Types.h>
00008 #include <input/InputDevice.h>
00009 
00010 #include <list>
00011 
00012 namespace input
00013 {
00014 
00015 class MouseEventReceiver;
00016 class MouseEvent;
00017 
00019 class ENGINE_PUBLIC_EXPORT Mouse: public InputDevice
00020 {
00021 public:
00022 
00024         Mouse();
00025 
00027         virtual ~Mouse();
00028 
00029         void addMouseEventReceiver(input::MouseEventReceiver* newEventReceiver);
00030         void removeMouseEventReceiver(input::MouseEventReceiver* oldEventReceiver);
00031 
00032 protected:
00033 
00034         void initProperties();
00035 
00037         std::list<input::MouseEventReceiver*> mMouseEventReceivers;
00038 
00039         MouseEvent* mEvent;
00040 };
00041 
00042 } // end namespace input
00043 
00044 #endif

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:04 by Doxygen (1.7.4)