Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
E:/Programming/MyProject/K_Game_hg/GameEngine/include/input/MouseEvent.h
Go to the documentation of this file.
00001 // Copyright 2006-2011 by Kat'Oun
00002 
00003 #ifndef _MOUSE_EVENT_H_
00004 #define _MOUSE_EVENT_H_
00005 
00006 #include <EngineConfig.h>
00007 #include <core/Types.h>
00008 #include <input/MouseEventDefines.h>
00009 #include <input/InputEvent.h>
00010 
00011 namespace input
00012 {
00013 
00015 class ENGINE_PUBLIC_EXPORT MouseEvent: public InputEvent
00016 {
00017 public:
00018 
00020         MouseEvent();
00021 
00023         ~MouseEvent();
00024 
00031         void set(MouseButton button, s32 axisX, s16 axisY, s32 axisZ, InputDevice *source);
00032 
00034         MouseButton getButton() const;
00035 
00037         s32 getAxisX() const;
00038 
00040         s32 getAxisY() const;
00041 
00043         s32 getAxisZ() const;
00044 
00045 protected:
00046 
00047         MouseButton mButton;
00048 
00049         s32 mAxisX;
00050         s32 mAxisY;
00051         s32 mAxisZ;
00052 };
00053 
00054 } // end namespace input
00055 
00056 #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)