C# Class CrisisAtSwissStation.HorizontalMovingObject

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

Public Properties

Property Type Description
bound1 float
bound2 float
isMoving bool
mySwitch SwitchObject

Public Methods

Method Description
Draw ( Matrix cameraTransform ) : void
HorizontalMovingObject ( 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

HorizontalMovingObject() public method

public HorizontalMovingObject ( 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 property

public float bound1
return float

bound2 public property

public float bound2
return float

isMoving public property

public bool isMoving
return bool

mySwitch public property

public SwitchObject,CrisisAtSwissStation mySwitch
return SwitchObject