C#Code
C#Code
Public Member Functions | Private Attributes
Libraries.Messaging.KeyboardInputMessage Class Reference
Inheritance diagram for Libraries.Messaging.KeyboardInputMessage:
Libraries.Messaging.BaseMessage Libraries.Messaging.BaseMessage

List of all members.

Public Member Functions

 KeyboardInputMessage ()
 KeyboardInputMessage (Keys key, Input.ButtonState state)
Keys GetKey ()
void SetKey (Keys key)
Input.ButtonState GetState ()
void SetState (Input.ButtonState state)
object Clone ()
 KeyboardInputMessage ()
 KeyboardInputMessage (Keys key, KeyboardInputMessageHandler.KeyboardKeyState state)
Keys GetKey ()
void SetKey (Keys key)
KeyboardInputMessageHandler.KeyboardKeyState GetState ()
void SetState (KeyboardInputMessageHandler.KeyboardKeyState state)
object Clone ()

Private Attributes

Keys m_key
 Which key the message is about.
Input.ButtonState m_state
 Key state.
KeyboardInputMessageHandler.KeyboardKeyState m_state
 Key state.

Detailed Description

The message that stores a keyboard message.


Constructor & Destructor Documentation

Libraries.Messaging.KeyboardInputMessage.KeyboardInputMessage ( )

Default constructor.

Libraries.Messaging.KeyboardInputMessage.KeyboardInputMessage ( Keys  key,
Input.ButtonState  state 
)

Constructor.

key - Key the message is about.
state - State the key is in.
Libraries.Messaging.KeyboardInputMessage.KeyboardInputMessage ( )

Default constructor.

Libraries.Messaging.KeyboardInputMessage.KeyboardInputMessage ( Keys  key,
KeyboardInputMessageHandler.KeyboardKeyState  state 
)

Constructor.

key - Key the message is about.
state - State the key is in.

Member Function Documentation

object Libraries.Messaging.KeyboardInputMessage.Clone ( )

Clone the object.

Return:
Value is the clone.

object Libraries.Messaging.KeyboardInputMessage.Clone ( )

Clone the object.

Return:
Value is the clone.

Keys Libraries.Messaging.KeyboardInputMessage.GetKey ( )

Get the key the message is about.

Keys Libraries.Messaging.KeyboardInputMessage.GetKey ( )

Get the key the message is about.

KeyboardInputMessageHandler.KeyboardKeyState Libraries.Messaging.KeyboardInputMessage.GetState ( )

Get the key the state the message is about.

Input.ButtonState Libraries.Messaging.KeyboardInputMessage.GetState ( )

Get the state the message is about.

Return:
Value is the state.

void Libraries.Messaging.KeyboardInputMessage.SetKey ( Keys  key)

Set the key the message is about.

key - Key to store.
void Libraries.Messaging.KeyboardInputMessage.SetKey ( Keys  key)

Set the key the message is about.

void Libraries.Messaging.KeyboardInputMessage.SetState ( Input.ButtonState  state)

Set the state the message is about.

state - State to store.
void Libraries.Messaging.KeyboardInputMessage.SetState ( KeyboardInputMessageHandler.KeyboardKeyState  state)

Set the key the message is about.


Member Data Documentation

Which key the message is about.

Key state.

Key state.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Properties