AgateLib.InputLib.Old.InputState< T > Class Template Reference

Class which encapsulates functionality associated with a set of commands. More...

List of all members.

Public Member Functions

 InputState ()
 Constructs an InputState object.
void Dispose ()
 Disposes of this object.
void Add (T id)
 Creates and adds a new input command with the specified identifier.
void Update ()
 Updates each of the input commands' state.

Properties

InputCommand< T > this [T id] [get, set]
 Gets or sets the specified input command.
int PushedCommandCount [get]
 Returns how many commands are currently set on.. ie. the user is pressing buttons for them.
bool AutoUpdate [get, set]
 Gets or sets whether or not this InputState should automatically update. If you are done with it, you should set this to false, or call Dispose().


Detailed Description

template<T>
class AgateLib::InputLib::Old::InputState< T >

Class which encapsulates functionality associated with a set of commands.

Template Parameters:
T 

Constructor & Destructor Documentation

template<T >
AgateLib.InputLib.Old.InputState< T >.InputState (  ) 

Constructs an InputState object.


Member Function Documentation

template<T >
void AgateLib.InputLib.Old.InputState< T >.Add ( id  ) 

Creates and adds a new input command with the specified identifier.

Parameters:
id 

template<T >
void AgateLib.InputLib.Old.InputState< T >.Dispose (  ) 

Disposes of this object.

template<T >
void AgateLib.InputLib.Old.InputState< T >.Update (  ) 

Updates each of the input commands' state.


Property Documentation

template<T >
bool AgateLib.InputLib.Old.InputState< T >.AutoUpdate [get, set]

Gets or sets whether or not this InputState should automatically update. If you are done with it, you should set this to false, or call Dispose().

template<T >
int AgateLib.InputLib.Old.InputState< T >.PushedCommandCount [get]

Returns how many commands are currently set on.. ie. the user is pressing buttons for them.

template<T >
InputCommand<T> AgateLib.InputLib.Old.InputState< T >.this[T id] [get, set]

Gets or sets the specified input command.

Parameters:
id 
Returns:


The documentation for this class was generated from the following file:
AgateLib
Awesome Game and Tool Engine Library
SourceForge.net Logo