C#Code
C#Code
Public Member Functions | Protected Attributes
TheForum.GameCode.SpecialEvents.SpecialEventBandwagon.Bandwagon Class Reference

List of all members.

Public Member Functions

 Bandwagon ()
void Setup (Vector3 startPos, Vector3 endPos, int timeToComplete, Libraries.AssetManager assetM)
void Update (int timePassed, Libraries.AssetManager assetM, BaseGameBoard board)
void Render (Microsoft.Xna.Framework.Graphics.GraphicsDevice device)
bool IsFinished ()
 Bandwagon ()
void Setup (Vector3 startPos, Vector3 endPos, int timeToComplete, Libraries.AssetManager assetM)
void Update (int timePassed, Libraries.AssetManager assetM, BaseGameBoard board)
void Render (Microsoft.Xna.Framework.Graphics.GraphicsDevice device)
bool IsFinished ()

Protected Attributes

Libraries._3D.Obj3DPoints m_sprite
 Displays the bandwagon.
Libraries.Movement.TimePointOnLine3D m_movement
 Determines where the bandwagen should be at any point in time.
Libraries.Timers.BaseTimer m_timer
 Timer that runs and determines when the bandwagon is finished.
Vector2 m_collisDims
 Collision area dimensions.
Vector2 m_collisOffset
 Collision area offset from the bandwagon position.
Libraries.Collision.RectCollision2D m_collisRect
 Collision area.

Detailed Description

Bandwagon object. Drives across the screen and destroys pieces.


Constructor & Destructor Documentation

TheForum.GameCode.SpecialEvents.SpecialEventBandwagon.Bandwagon.Bandwagon ( )

Default constructor.

TheForum.GameCode.SpecialEvents.SpecialEventBandwagon.Bandwagon.Bandwagon ( )

Default constructor.


Member Function Documentation

bool TheForum.GameCode.SpecialEvents.SpecialEventBandwagon.Bandwagon.IsFinished ( )

Check if the bandwagon is finished.

Return:
Value is true if it is finished, false if not.

bool TheForum.GameCode.SpecialEvents.SpecialEventBandwagon.Bandwagon.IsFinished ( )

Check if the bandwagon is finished.

Return:
Value is true if it is finished, false if not.

void TheForum.GameCode.SpecialEvents.SpecialEventBandwagon.Bandwagon.Render ( Microsoft.Xna.Framework.Graphics.GraphicsDevice  device)

Render the bandwagon.

device - Device to render with.
void TheForum.GameCode.SpecialEvents.SpecialEventBandwagon.Bandwagon.Render ( Microsoft.Xna.Framework.Graphics.GraphicsDevice  device)

Render the bandwagon.

device - Device to render with.
void TheForum.GameCode.SpecialEvents.SpecialEventBandwagon.Bandwagon.Setup ( Vector3  startPos,
Vector3  endPos,
int  timeToComplete,
Libraries.AssetManager  assetM 
)

Setup and start the bandwagon.

startPos - Starting position of the bandwagon.
endPos - End position of the band wagon.
timeToComplete - How long it takes the band wagon to move from the start to the end.
assetM - Asset manager to use.

Return:
Value is true if setup was successful, false if not.
void TheForum.GameCode.SpecialEvents.SpecialEventBandwagon.Bandwagon.Setup ( Vector3  startPos,
Vector3  endPos,
int  timeToComplete,
Libraries.AssetManager  assetM 
)

Setup and start the bandwagon.

startPos - Starting position of the bandwagon.
endPos - End position of the band wagon.
timeToComplete - How long it takes the band wagon to move from the start to the end.
assetM - Asset manager to use.

Return:
Value is true if setup was successful, false if not.
void TheForum.GameCode.SpecialEvents.SpecialEventBandwagon.Bandwagon.Update ( int  timePassed,
Libraries.AssetManager  assetM,
BaseGameBoard  board 
)

Setup and start the bandwagon.

timePassed - Time passed to update for.
assetM - Asset manager to use.
board - Board to use.

Return:
Value is true if setup was successful, false if not.
void TheForum.GameCode.SpecialEvents.SpecialEventBandwagon.Bandwagon.Update ( int  timePassed,
Libraries.AssetManager  assetM,
BaseGameBoard  board 
)

Setup and start the bandwagon.

timePassed - Time passed to update for.
assetM - Asset manager to use.
board - Board to use.

Return:
Value is true if setup was successful, false if not.

Member Data Documentation

Collision area dimensions.

Collision area offset from the bandwagon position.

Collision area.

Determines where the bandwagen should be at any point in time.

Displays the bandwagon.

Timer that runs and determines when the bandwagon is finished.


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