C# Class Project2.GameObjects.Abstract.LevelPiece

Inheritance: IUpdateable, IDrawable, INode
Show file Open project: nuclearpidgeon/graphicsproj2 Class Usage Examples

Public Properties

Property Type Description
OriginPosition System.Vector3
game Game
level Level

Public Methods

Method Description
AddChild ( INode childNode ) : void
BeginDraw ( ) : bool
Draw ( SharpDX.Toolkit.GameTime gameTime ) : void
EndDraw ( ) : void
LevelPiece ( Game game, Level level, System.Vector3 originPosition ) : System
RemoveChild ( INode childNode ) : void
Update ( SharpDX.Toolkit.GameTime gameTime ) : void

Method Details

AddChild() public method

public AddChild ( INode childNode ) : void
childNode INode
return void

BeginDraw() public method

public BeginDraw ( ) : bool
return bool

Draw() public method

public Draw ( SharpDX.Toolkit.GameTime gameTime ) : void
gameTime SharpDX.Toolkit.GameTime
return void

EndDraw() public method

public EndDraw ( ) : void
return void

LevelPiece() public method

public LevelPiece ( Game game, Level level, System.Vector3 originPosition ) : System
game Game
level Level
originPosition System.Vector3
return System

RemoveChild() public method

public RemoveChild ( INode childNode ) : void
childNode INode
return void

Update() public method

public Update ( SharpDX.Toolkit.GameTime gameTime ) : void
gameTime SharpDX.Toolkit.GameTime
return void

Property Details

OriginPosition public property

public Vector3,System OriginPosition
return System.Vector3

game public property

public Game game
return Game

level public property

public Level level
return Level