C#Code
C#Code
Public Member Functions | Private Attributes
Libraries.Mouse.MouseProperties Class Reference

List of all members.

Public Member Functions

 MouseProperties ()
void StoreProperty (BaseMouseProperty property)
void Update (int timePassed, BaseMouse mouse)
virtual void Render (Microsoft.Xna.Framework.Graphics.GraphicsDevice device, Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch)
BaseMouseProperty GetPropertyByType (string type)
BaseMouseProperty GetPropertyByID (string ID)
virtual void Clear ()
 MouseProperties ()
void StoreProperty (BaseMouseProperty property)
void Update (int timePassed, BaseMouse mouse)
virtual void Render (Microsoft.Xna.Framework.Graphics.GraphicsDevice device, Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch)
BaseMouseProperty GetPropertyByType (string type)
BaseMouseProperty GetPropertyByID (string ID)
virtual void Clear ()

Private Attributes

List< BaseMousePropertym_properties
 Stores all the mouse properties.

Detailed Description

Used to store mouse properties.


Constructor & Destructor Documentation

Libraries.Mouse.MouseProperties.MouseProperties ( )

Default constructor.

Libraries.Mouse.MouseProperties.MouseProperties ( )

Default constructor.


Member Function Documentation

virtual void Libraries.Mouse.MouseProperties.Clear ( ) [virtual]

Clear the data stored in the object.

virtual void Libraries.Mouse.MouseProperties.Clear ( ) [virtual]

Clear the data stored in the object.

BaseMouseProperty Libraries.Mouse.MouseProperties.GetPropertyByID ( string  ID)

Retrive the stored mouse property that matches the ID, if one exists.

ID - ID of the property to retrive.

Return:
Value is the property that has a ID matching the given ID, null if no match was found.
BaseMouseProperty Libraries.Mouse.MouseProperties.GetPropertyByID ( string  ID)

Retrive the stored mouse property that matches the ID, if one exists.

ID - ID of the property to retrive.

Return:
Value is the property that has a ID matching the given ID, null if no match was found.
BaseMouseProperty Libraries.Mouse.MouseProperties.GetPropertyByType ( string  type)

Retrive the stored mouse property that matches the given property type, if one exists.

type - type of the property to retrive.

Return:
Value is the first instance found matching the given type, null if no match was found.
BaseMouseProperty Libraries.Mouse.MouseProperties.GetPropertyByType ( string  type)

Retrive the stored mouse property that matches the given property type, if one exists.

type - type of the property to retrive.

Return:
Value is the first instance found matching the given type, null if no match was found.
virtual void Libraries.Mouse.MouseProperties.Render ( Microsoft.Xna.Framework.Graphics.GraphicsDevice  device,
Microsoft.Xna.Framework.Graphics.SpriteBatch  spriteBatch 
) [virtual]

Display the mouse.

device - Device to render 3D with.
spriteBatch - Spritebatch to draw sprites with.
virtual void Libraries.Mouse.MouseProperties.Render ( Microsoft.Xna.Framework.Graphics.GraphicsDevice  device,
Microsoft.Xna.Framework.Graphics.SpriteBatch  spriteBatch 
) [virtual]

Display the mouse.

device - Device to render 3D with.
spriteBatch - Spritebatch to draw sprites with.
void Libraries.Mouse.MouseProperties.StoreProperty ( BaseMouseProperty  property)

Stores the given property. property - Property to store.

void Libraries.Mouse.MouseProperties.StoreProperty ( BaseMouseProperty  property)

Stores the given property.

property - Property to store.
void Libraries.Mouse.MouseProperties.Update ( int  timePassed,
BaseMouse  mouse 
)

Updates all the stored properties.

timePassed - How much time the update is for.
mouse - Mouse the properties are in.
void Libraries.Mouse.MouseProperties.Update ( int  timePassed,
BaseMouse  mouse 
)

Updates all the stored properties.

timePassed - How much time the update is for.
mouse - Mouse the properties are in.

Member Data Documentation

Stores all the mouse properties.


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