C# Class CrisisAtSwissStation.MovingObject

Inheritance: PhysicsObject
Mostra file Open project: danielpcox/Crisis-at-Swiss-Station Class Usage Examples

Public Properties

Property Type Description
bound1 float
bound2 float

Public Methods

Method Description
Draw ( Matrix cameraTransform ) : void
MovingObject ( World world, string texturename, float density, float friction, float restitution, float myScale, bool isPulley, SwitchObject mySwitch, Vector2 myForce, float bound1, float bound2 ) : System
Update ( CASSWorld world, float dt ) : void
reloadNonSerializedAssets ( ) : void

Method Details

Draw() public method

public Draw ( Matrix cameraTransform ) : void
cameraTransform Matrix
return void

MovingObject() public method

public MovingObject ( World world, string texturename, float density, float friction, float restitution, float myScale, bool isPulley, SwitchObject mySwitch, Vector2 myForce, float bound1, float bound2 ) : System
world Box2DX.Dynamics.World
texturename string
density float
friction float
restitution float
myScale float
isPulley bool
mySwitch SwitchObject
myForce Vector2
bound1 float
bound2 float
return System

Update() public method

public Update ( CASSWorld world, float dt ) : void
world CASSWorld
dt float
return void

reloadNonSerializedAssets() public method

public reloadNonSerializedAssets ( ) : void
return void

Property Details

bound1 public_oe property

public float bound1
return float

bound2 public_oe property

public float bound2
return float