C#Code
C#Code
Public Member Functions | Protected Attributes
TheForum.GameCode.PostAvatar Class Reference

List of all members.

Public Member Functions

void Update (int timePassed, Libraries.AssetManager assetM)
void Render (GraphicsDevice device)
void LoadAvatar (Libraries.AssetManager assetM, Vector3 startLoc, string avatarFile, Libraries.StringType shaderID)
Vector3 GetCenter ()
Libraries._3D.Obj3DPoints GetAvatar ()
void Update (int timePassed, Libraries.AssetManager assetM)
void Render (GraphicsDevice device)
void LoadAvatar (Libraries.AssetManager assetM, Vector3 startLoc, string avatarFile)
Vector3 GetCenter ()
Libraries._3D.Obj3DPoints GetAvatar ()

Protected Attributes

Libraries._3D.Obj3DPoints m_avatar
 Avatar display.

Detailed Description

Display and manage a post avatar (the image that represent a poster).


Member Function Documentation

Libraries._3D.Obj3DPoints TheForum.GameCode.PostAvatar.GetAvatar ( )

Get the 3D object that displays the avatar.

Libraries._3D.Obj3DPoints TheForum.GameCode.PostAvatar.GetAvatar ( )

Get the 3D object that displays the avatar.

Vector3 TheForum.GameCode.PostAvatar.GetCenter ( )

Get the center coord of the avatar.

Return:
Value is the center coord of the avatar,0, 0, 0 if the avatar hasn't been created yet.

Vector3 TheForum.GameCode.PostAvatar.GetCenter ( )

Get the center coord of the avatar.

Return:
Value is the center coord of the avatar,0, 0, 0 if the avatar hasn't been created yet.

void TheForum.GameCode.PostAvatar.LoadAvatar ( Libraries.AssetManager  assetM,
Vector3  startLoc,
string  avatarFile,
Libraries.StringType  shaderID 
)

Load the avatar.

assetM - Asset manager to use.
startLoc - Location to put the avatar.
avatarFile - Avatar image to use.
shaderID - ID of the shader to use.
void TheForum.GameCode.PostAvatar.LoadAvatar ( Libraries.AssetManager  assetM,
Vector3  startLoc,
string  avatarFile 
)

Load the avatar.

assetM - Asset manager to use.
startLoc - Location to put the avatar.
avatarFile - Avatar image to use.
void TheForum.GameCode.PostAvatar.Render ( GraphicsDevice  device)

Render everything.

device - Device to render with.
void TheForum.GameCode.PostAvatar.Render ( GraphicsDevice  device)

Render everything.

device - Device to render with.
void TheForum.GameCode.PostAvatar.Update ( int  timePassed,
Libraries.AssetManager  assetM 
)

Update everything.

timePassed - How long has passed since the previous update.
assetM - Asset manager to use.
void TheForum.GameCode.PostAvatar.Update ( int  timePassed,
Libraries.AssetManager  assetM 
)

Update everything.

timePassed - How long has passed since the previous update.
assetM - Asset manager to use.

Member Data Documentation

Libraries _3D Obj3DPoints TheForum::GameCode.PostAvatar::m_avatar [protected]

Avatar display.


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