Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
Public Member Functions | Protected Attributes
input::InputEvent Class Reference

A common base class for mouse/keyboard input events. More...

#include <InputEvent.h>

Inheritance diagram for input::InputEvent:
input::JoystickEvent input::KeyEvent input::MouseEvent

List of all members.

Public Member Functions

InputDevicegetSource ()
 Returns a pointer to an InputDevice object which is the source of the event.
 InputEvent ()
void set (InputDevice *source)
 Set the input event.

Protected Attributes

InputDevicemDevice

Detailed Description

A common base class for mouse/keyboard input events.


Constructor & Destructor Documentation

input::InputEvent::InputEvent ( )

References mDevice.


Member Function Documentation

InputDevice * input::InputEvent::getSource ( )

Returns a pointer to an InputDevice object which is the source of the event.

References mDevice.

void input::InputEvent::set ( InputDevice source)

Set the input event.

References mDevice.


Member Data Documentation

Referenced by getSource(), InputEvent(), and set().


The documentation for this class was generated from the following files:

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