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

List of all members.

Public Member Functions

 BasicPieceDeff ()
override BasePiece Generate (Libraries.AssetManager assetM, string color, Microsoft.Xna.Framework.Vector3 pieceDims)
 BasicPieceDeff ()
override BasePiece Generate (Libraries.AssetManager assetM, string color, Microsoft.Xna.Framework.Vector3 pieceDims)

Static Public Attributes

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

Detailed Description

Basic piece definition. Used to the standard piece.


Constructor & Destructor Documentation

TheForum.GameCode.BasicPieceDeff.BasicPieceDeff ( )

Constructor.

TheForum.GameCode.BasicPieceDeff.BasicPieceDeff ( )

Constructor.


Member Function Documentation

override BasePiece TheForum.GameCode.BasicPieceDeff.Generate ( Libraries.AssetManager  assetM,
string  color,
Microsoft.Xna.Framework.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.BasicPieceDeff.Generate ( Libraries.AssetManager  assetM,
string  color,
Microsoft.Xna.Framework.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

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