C#Code
C#Code
Public Member Functions | Private Member Functions | Private Attributes
TheForum.GameCode.Poster.UserPostButtons Class Reference

List of all members.

Public Member Functions

 UserPostButtons ()
void Setup (Libraries.AssetManager assetM, Microsoft.Xna.Framework.Vector2 postButtonPos, Microsoft.Xna.Framework.Vector2 refreshButtonPos)
void Clear ()
void Update (int timePassed)
void Render (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch)
 UserPostButtons ()
void Setup (Libraries.AssetManager assetM, Microsoft.Xna.Framework.Vector2 postButtonPos, Microsoft.Xna.Framework.Vector2 refreshButtonPos)
void Clear ()
void Update (int timePassed)
void Render (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch)

Private Member Functions

void RefreshPage (object data)
void PostMessage (object data)
void RefreshPage (object data)
void PostMessage (object data)

Private Attributes

Libraries.Sprites.SpriteManager2D m_spriteM
 Sprite manager to use.
readonly Libraries.StringType s_refreshButtonID = new Libraries.StringType("refresh_button")
 Sprite ID to use for the refresh button.
readonly Libraries.StringType s_postButtonID = new Libraries.StringType("post_button")
 Sprite ID to use for the post message button.

Detailed Description

Stores and manages in game buttons the user poster can use. Buttons like posting the message, refreshing.


Constructor & Destructor Documentation

TheForum.GameCode.Poster.UserPostButtons.UserPostButtons ( )

Default constructor.

TheForum.GameCode.Poster.UserPostButtons.UserPostButtons ( )

Default constructor.


Member Function Documentation

void TheForum.GameCode.Poster.UserPostButtons.Clear ( )

Free everything in the object.

void TheForum.GameCode.Poster.UserPostButtons.Clear ( )

Free everything in the object.

void TheForum.GameCode.Poster.UserPostButtons.PostMessage ( object  data) [private]

Delegate to use for the post message button.

data - Ignore.
void TheForum.GameCode.Poster.UserPostButtons.PostMessage ( object  data) [private]

Delegate to use for the post message button.

void TheForum.GameCode.Poster.UserPostButtons.RefreshPage ( object  data) [private]

Delegate to use for the refresh page button.

data - Ignore.
void TheForum.GameCode.Poster.UserPostButtons.RefreshPage ( object  data) [private]

Delegate to use for the refresh page button.

void TheForum.GameCode.Poster.UserPostButtons.Render ( Microsoft.Xna.Framework.Graphics.SpriteBatch  spriteBatch)

Render the buttons.

spriteBatch - Used to render the sprites.
void TheForum.GameCode.Poster.UserPostButtons.Render ( Microsoft.Xna.Framework.Graphics.SpriteBatch  spriteBatch)

Render the buttons.

spriteBatch - Used to render the sprites.
void TheForum.GameCode.Poster.UserPostButtons.Setup ( Libraries.AssetManager  assetM,
Microsoft.Xna.Framework.Vector2  postButtonPos,
Microsoft.Xna.Framework.Vector2  refreshButtonPos 
)

Setup the object. Create buttons, etc.

assetM - Asset manager to use.
void TheForum.GameCode.Poster.UserPostButtons.Setup ( Libraries.AssetManager  assetM,
Microsoft.Xna.Framework.Vector2  postButtonPos,
Microsoft.Xna.Framework.Vector2  refreshButtonPos 
)

Setup the object. Create buttons, etc.

assetM - Asset manager to use.
void TheForum.GameCode.Poster.UserPostButtons.Update ( int  timePassed)

Update.

timePassed - How much time the update is for.
void TheForum.GameCode.Poster.UserPostButtons.Update ( int  timePassed)

Update.

timePassed - How much time the update is for.

Member Data Documentation

Libraries Sprites SpriteManager2D TheForum::GameCode::Poster.UserPostButtons::m_spriteM [private]

Sprite manager to use.

readonly Libraries StringType TheForum::GameCode::Poster.UserPostButtons::s_postButtonID = new Libraries.StringType("post_button") [private]

Sprite ID to use for the post message button.

readonly Libraries StringType TheForum::GameCode::Poster.UserPostButtons::s_refreshButtonID = new Libraries.StringType("refresh_button") [private]

Sprite ID to use for the refresh button.


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