C# Class Project2.GameObjects.Brick

Inheritance: Project2.GameObjects.Abstract.ModelPhysicsObject
Show file Open project: nuclearpidgeon/graphicsproj2

Public Methods

Method Description
Brick ( Project2Game game, SharpDX.Toolkit.Graphics.Model model, System.Vector3 position, System.Vector3 size, System.Boolean isStatic ) : System

Create a new Brick with default orientation

Protected Methods

Method Description
GeneratePhysicsDescription ( ) : RigidBody

Method Details

Brick() public method

Create a new Brick with default orientation
public Brick ( Project2Game game, SharpDX.Toolkit.Graphics.Model model, System.Vector3 position, System.Vector3 size, System.Boolean isStatic ) : System
game Project2Game
model SharpDX.Toolkit.Graphics.Model
position System.Vector3
size System.Vector3
isStatic System.Boolean
return System

GeneratePhysicsDescription() protected method

protected GeneratePhysicsDescription ( ) : RigidBody
return RigidBody