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

List of all members.

Public Member Functions

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

Static Public Attributes

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

Private Attributes

UInt64 m_timeWait
 How long the frog item waits before starting the frog flash animation.
UInt64 m_timeFrogAnim
 How long the frog flash animation runs before triggering the piece color change.

Detailed Description

Frog item definition. Used to create a frog item.


Constructor & Destructor Documentation

TheForum.GameCode.Items.FrogItemDeff.FrogItemDeff ( UInt64  timeWait,
UInt64  timeFrogAnim 
)

Constructor.

timeWait - How long to wait before triggering the frog animation.
timeFrogAnim - How long to wait to trigger the event once the animation starts.
TheForum.GameCode.Items.FrogItemDeff.FrogItemDeff ( UInt64  timeWait,
UInt64  timeFrogAnim 
)

Constructor.

timeWait - How long to wait before triggering the frog animation.
timeFrogAnim - How long to wait to trigger the event once the animation starts.

Member Function Documentation

override BasePiece TheForum.GameCode.Items.FrogItemDeff.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.
override BasePiece TheForum.GameCode.Items.FrogItemDeff.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 frog flash animation runs before triggering the piece color change.

How long the frog item waits before starting the frog flash animation.

static readonly Libraries StringType TheForum::GameCode::Items.FrogItemDeff::s_type = new Libraries.StringType("item_siren_frog_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