C# Class CrisisAtSwissStation.SwitchObject

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

Public Properties

Property Type Description
switchOn bool

Public Methods

Method Description
Draw ( Matrix cameraTransform ) : void
SwitchObject ( World world, string mytexturename, string objectTexturename, int sprWidth, int sprHeight, int animInt, int myNumFrames ) : System
Update ( CASSWorld world, float dt ) : void
reloadNonSerializedAssets ( ) : void

Method Details

Draw() public method

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

SwitchObject() public method

public SwitchObject ( World world, string mytexturename, string objectTexturename, int sprWidth, int sprHeight, int animInt, int myNumFrames ) : System
world Box2DX.Dynamics.World
mytexturename string
objectTexturename string
sprWidth int
sprHeight int
animInt int
myNumFrames int
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

switchOn public_oe property

public bool switchOn
return bool