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

List of all members.

Public Member Functions

 ProbationItemDeff (UInt64 probationTime)
override BasePiece Generate (Libraries.AssetManager assetM, string color, Vector3 pieceDims)
 ProbationItemDeff (UInt64 probationTime)
override BasePiece Generate (Libraries.AssetManager assetM, string color, Vector3 pieceDims)

Static Public Attributes

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

Private Attributes

UInt64 m_timeWait
 How long the probation should last when the item is triggered.

Detailed Description

Definition used to create a probation item.


Constructor & Destructor Documentation

TheForum.GameCode.Items.ProbationItemDeff.ProbationItemDeff ( UInt64  probationTime)

Constructor.

timeWait - How long the probation should last.
TheForum.GameCode.Items.ProbationItemDeff.ProbationItemDeff ( UInt64  probationTime)

Constructor.

timeWait - How long the probation should last.

Member Function Documentation

override BasePiece TheForum.GameCode.Items.ProbationItemDeff.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.ProbationItemDeff.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 probation should last when the item is triggered.

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