Input Class Reference

#include <Input.h>

Inherits Singleton< T >< Input >.

Inheritance diagram for Input:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 9 of file Input.h.

Public Member Functions

Point getMousePosition () const
void processSDLEvent (SDL_Event &event)

Private Member Functions

 Input ()

Private Attributes

InputMode _mode
std::string _str

Friends

class Singleton< Input >


Constructor & Destructor Documentation

Input::Input (  )  [private]

Definition at line 5 of file Input.cpp.

References _mode, _str, and command.


Member Function Documentation

Point Input::getMousePosition (  )  const

Definition at line 74 of file Input.cpp.

References Point::x, and Point::y.

void Input::processSDLEvent ( SDL_Event &  event  ) 

Definition at line 12 of file Input.cpp.

References _mode, _str, chat, command, and Singleton< T >::instance().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class Singleton< Input > [friend]

Definition at line 11 of file Input.h.


Member Data Documentation

InputMode Input::_mode [private]

Definition at line 20 of file Input.h.

Referenced by Input(), and processSDLEvent().

std::string Input::_str [private]

Definition at line 21 of file Input.h.

Referenced by Input(), and processSDLEvent().


The documentation for this class was generated from the following files:
Generated on Fri Sep 22 06:00:27 2006 for X-CLONE by  doxygen 1.4.7