C# Class CrisisAtSwissStation.HorizontalMovingObject

Inheritance: PhysicsObject
Afficher le fichier Open project: danielpcox/Crisis-at-Swiss-Station Class Usage Examples

Méthodes publiques

Свойство Type Description
bound1 float
bound2 float
isMoving bool
mySwitch SwitchObject

Méthodes publiques

Méthode 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 méthode

public Draw ( Matrix cameraTransform ) : void
cameraTransform Matrix
Résultat void

HorizontalMovingObject() public méthode

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
Résultat System

Update() public méthode

public Update ( CASSWorld world, float dt ) : void
world CASSWorld
dt float
Résultat void

reloadNonSerializedAssets() public méthode

public reloadNonSerializedAssets ( ) : void
Résultat void

Property Details

bound1 public_oe property

public float bound1
Résultat float

bound2 public_oe property

public float bound2
Résultat float

isMoving public_oe property

public bool isMoving
Résultat bool

mySwitch public_oe property

public SwitchObject,CrisisAtSwissStation mySwitch
Résultat SwitchObject