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

List of all members.

Public Member Functions

 MouseButtonMessage ()
 MouseButtonMessage (MouseInputMessageHandler.MouseButton button, MouseInputMessageHandler.MouseButtonState state)
MouseInputMessageHandler.MouseButton GetButton ()
void SetButton (MouseInputMessageHandler.MouseButton button)
MouseInputMessageHandler.MouseButtonState GetState ()
Microsoft.Xna.Framework.Point GetPos ()
void SetState (MouseInputMessageHandler.MouseButtonState state)
void SetPos (Microsoft.Xna.Framework.Point pos)
object Clone ()
 MouseButtonMessage ()
 MouseButtonMessage (MouseInputMessageHandler.MouseButton button, MouseInputMessageHandler.MouseButtonState state)
MouseInputMessageHandler.MouseButton GetButton ()
void SetButton (MouseInputMessageHandler.MouseButton button)
MouseInputMessageHandler.MouseButtonState GetState ()
Microsoft.Xna.Framework.Point GetPos ()
void SetState (MouseInputMessageHandler.MouseButtonState state)
void SetPos (Microsoft.Xna.Framework.Point pos)
object Clone ()

Private Attributes

MouseInputMessageHandler.MouseButton m_button
 Which button the message is about.
MouseInputMessageHandler.MouseButtonState m_state
 Button state.
Microsoft.Xna.Framework.Point m_pos
 Position the mouse was at when the button event occured.

Detailed Description

The message that stores a mouse message.


Constructor & Destructor Documentation

Libraries.Messaging.MouseButtonMessage.MouseButtonMessage ( )

Default constructor.

Libraries.Messaging.MouseButtonMessage.MouseButtonMessage ( MouseInputMessageHandler.MouseButton  button,
MouseInputMessageHandler.MouseButtonState  state 
)

Parameter constructor.

button - Button the message is about.
state - State the button is in.
Libraries.Messaging.MouseButtonMessage.MouseButtonMessage ( )

Default constructor.

Libraries.Messaging.MouseButtonMessage.MouseButtonMessage ( MouseInputMessageHandler.MouseButton  button,
MouseInputMessageHandler.MouseButtonState  state 
)

Parameter constructor.

button - Button the message is about.
state - State the button is in.

Member Function Documentation

object Libraries.Messaging.MouseButtonMessage.Clone ( )

Clone the object.

Return:
Value is the clone.

object Libraries.Messaging.MouseButtonMessage.Clone ( )

Clone the object.

Return:
Value is the clone.

MouseInputMessageHandler.MouseButton Libraries.Messaging.MouseButtonMessage.GetButton ( )

Get the button the message is about.

MouseInputMessageHandler.MouseButton Libraries.Messaging.MouseButtonMessage.GetButton ( )

Get the button the message is about.

Return:
Value is the button.

Microsoft.Xna.Framework.Point Libraries.Messaging.MouseButtonMessage.GetPos ( )

Get the position the mouse was at when the message occured.

Return:
Value is the coord the click happened at.

Microsoft.Xna.Framework.Point Libraries.Messaging.MouseButtonMessage.GetPos ( )

Get the position the mouse was at when the message occured.

MouseInputMessageHandler.MouseButtonState Libraries.Messaging.MouseButtonMessage.GetState ( )

Get the button the state the message is about.

MouseInputMessageHandler.MouseButtonState Libraries.Messaging.MouseButtonMessage.GetState ( )

Get the button the state the message is about.

Return:
Value is the state.

void Libraries.Messaging.MouseButtonMessage.SetButton ( MouseInputMessageHandler.MouseButton  button)

Set the button the message is about.

void Libraries.Messaging.MouseButtonMessage.SetButton ( MouseInputMessageHandler.MouseButton  button)

Set the button the message is about.

button - The button to store.
void Libraries.Messaging.MouseButtonMessage.SetPos ( Microsoft.Xna.Framework.Point  pos)

Set the position the mouse was at.

pos - Position to store.
void Libraries.Messaging.MouseButtonMessage.SetPos ( Microsoft.Xna.Framework.Point  pos)

Set the position the mouse was at.

void Libraries.Messaging.MouseButtonMessage.SetState ( MouseInputMessageHandler.MouseButtonState  state)

Set the button the message is about.

void Libraries.Messaging.MouseButtonMessage.SetState ( MouseInputMessageHandler.MouseButtonState  state)

Set the state the message is about.

state - State to store.

Member Data Documentation

Which button the message is about.

Microsoft Xna Framework Point Libraries::Messaging.MouseButtonMessage::m_pos [private]

Position the mouse was at when the button event occured.

Button state.


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