C# Class CrisisAtSwissStation.DudeObject

Inheritance: BoxObject
显示文件 Open project: danielpcox/Crisis-at-Swiss-Station Class Usage Examples

Public Properties

Property Type Description
jumpImpulse float

Protected Properties

Property Type Description
animTextureName string
armTextureName string

Public Methods

Method Description
Draw ( Matrix cameraTransform ) : void
DudeObject ( World world, ScrollingWorld theWorld, string texturename, string objectTexturename, string armTexturename, LaserObject Laser, string groundSensorName ) : System
Update ( CASSWorld world, float dt ) : void
getTime ( ) : int
getWorld ( ) : ScrollingWorld
isRight ( ) : bool
locked ( ) : void
reloadNonSerializedAssets ( ) : void
setDead ( ) : void

Private Methods

Method Description
fallAnimation ( ) : void
standAnimation ( ) : void
walkAnimation ( ) : void

Method Details

Draw() public method

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

DudeObject() public method

public DudeObject ( World world, ScrollingWorld theWorld, string texturename, string objectTexturename, string armTexturename, LaserObject Laser, string groundSensorName ) : System
world Box2DX.Dynamics.World
theWorld ScrollingWorld
texturename string
objectTexturename string
armTexturename string
Laser LaserObject
groundSensorName string
return System

Update() public method

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

getTime() public method

public getTime ( ) : int
return int

getWorld() public method

public getWorld ( ) : ScrollingWorld
return ScrollingWorld

isRight() public method

public isRight ( ) : bool
return bool

locked() public static method

public static locked ( ) : void
return void

reloadNonSerializedAssets() public method

public reloadNonSerializedAssets ( ) : void
return void

setDead() public method

public setDead ( ) : void
return void

Property Details

animTextureName protected_oe property

protected string animTextureName
return string

armTextureName protected_oe property

protected string armTextureName
return string

jumpImpulse public_oe static_oe property

public static float jumpImpulse
return float