Tactics: Western Philosophers Vs. Musicians  0.12
A turn-based tactical game combining rules and gameplay elements inspired by Final Fantasy Tactics and the Mayfair Exponential Game System. Unlike most games of this type, motion is in full, grid-less 3D.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
OpenSkyNet::Graphics::InputListener Class Reference

#include <GUI.h>

Inheritance diagram for OpenSkyNet::Graphics::InputListener:
OpenSkyNet::CoreDesigner3DViewer::ViewerInputListener Tactics3D::InputListener

Public Member Functions

 InputListener ()
 
virtual ~InputListener ()
 
virtual bool keyPressed (const OIS::KeyEvent &arg)
 
virtual bool keyReleased (const OIS::KeyEvent &arg)
 
virtual void pickNode (Ogre::SceneNode *node_)
 
void setNodePickedCallback (NodePickedCallback nodePickedCallback_)
 
virtual bool mouseMoved (const OIS::MouseEvent &arg)
 
virtual bool mousePressed (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
 
virtual bool mouseReleased (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
 

Public Attributes

Graphics::UI_UI
 
CEGUI::Renderer * _gUIRenderer
 
Ogre::SceneNode * _topNode
 
Ogre::SceneNode * _currPickedNode
 
Ogre::Camera * _cam
 
NodePickedCallback _nodePickedCallback
 
Ogre::Vector3 _rayDirection
 
Ogre::Vector3 _rayOrigin
 

Detailed Description

Process OIS events.

Constructor & Destructor Documentation

OpenSkyNet::Graphics::InputListener::InputListener ( )
inline
virtual OpenSkyNet::Graphics::InputListener::~InputListener ( )
inlinevirtual

Reimplemented in Tactics3D::InputListener.

Member Function Documentation

virtual bool OpenSkyNet::Graphics::InputListener::keyPressed ( const OIS::KeyEvent &  arg)
virtual
virtual bool OpenSkyNet::Graphics::InputListener::keyReleased ( const OIS::KeyEvent &  arg)
virtual
bool InputListener::mouseMoved ( const OIS::MouseEvent &  arg)
virtual
bool InputListener::mousePressed ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
)
virtual
bool InputListener::mouseReleased ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
)
virtual
virtual void OpenSkyNet::Graphics::InputListener::pickNode ( Ogre::SceneNode *  node_)
virtual

Reimplemented in Tactics3D::InputListener.

void OpenSkyNet::Graphics::InputListener::setNodePickedCallback ( NodePickedCallback  nodePickedCallback_)
inline

Member Data Documentation

Ogre::Camera* OpenSkyNet::Graphics::InputListener::_cam
Ogre::SceneNode* OpenSkyNet::Graphics::InputListener::_currPickedNode
CEGUI::Renderer* OpenSkyNet::Graphics::InputListener::_gUIRenderer
NodePickedCallback OpenSkyNet::Graphics::InputListener::_nodePickedCallback
Ogre::Vector3 OpenSkyNet::Graphics::InputListener::_rayDirection

The ray direction and origin vectors

Ogre::Vector3 OpenSkyNet::Graphics::InputListener::_rayOrigin
Ogre::SceneNode* OpenSkyNet::Graphics::InputListener::_topNode
Graphics::UI* OpenSkyNet::Graphics::InputListener::_UI

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