C#Code
C#Code
Public Member Functions | Static Public Attributes | Private Attributes
TheForum.GameCode.Items.BandwagonItemDeff Class Reference
Inheritance diagram for TheForum.GameCode.Items.BandwagonItemDeff:
TheForum.GameCode.PieceDefinition TheForum.GameCode.PieceDefinition

List of all members.

Public Member Functions

 BandwagonItemDeff (UInt64 timeWait)
override BasePiece Generate (Libraries.AssetManager assetM, string color, Vector3 pieceDims)
 BandwagonItemDeff (UInt64 timeWait)
override BasePiece Generate (Libraries.AssetManager assetM, string color, Vector3 pieceDims)

Static Public Attributes

static readonly
Libraries.StringType 
s_type = new Libraries.StringType("item_bandwagon_deff")
 Type that represents the definition.

Private Attributes

UInt64 m_timeWait
 How long the item waits before triggering.

Detailed Description

Bandwagon item definition. This is used to create a bandwagon piece.


Constructor & Destructor Documentation

TheForum.GameCode.Items.BandwagonItemDeff.BandwagonItemDeff ( UInt64  timeWait)

Constructor.

timeWait - How long to wait before triggering the bandwagon event.
TheForum.GameCode.Items.BandwagonItemDeff.BandwagonItemDeff ( UInt64  timeWait)

Constructor.

timeWait - How long to wait before triggering the bandwagon event.

Member Function Documentation

override BasePiece TheForum.GameCode.Items.BandwagonItemDeff.Generate ( Libraries.AssetManager  assetM,
string  color,
Vector3  pieceDims 
)

Generates a piece with the appropriate values based on the definition.

assetM - Asset manager to use for the textures.
color - Color type to use for the piece.
pieceDims - Dimensions of the piece in world space.

Return:
Value is the generated piece. It is null if the piece could not be created.
override BasePiece TheForum.GameCode.Items.BandwagonItemDeff.Generate ( Libraries.AssetManager  assetM,
string  color,
Vector3  pieceDims 
)

Generates a piece with the appropriate values based on the definition.

assetM - Asset manager to use for the textures.
color - Color type to use for the piece.
pieceDimensions - Dimensions of the piece in world space.

Return:
Value is the generated piece. It is null if the piece could not be created.

Member Data Documentation

How long the item waits before triggering.

static readonly Libraries StringType TheForum::GameCode::Items.BandwagonItemDeff::s_type = new Libraries.StringType("item_bandwagon_deff") [static]

Type that represents the definition.


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