C# Class CrisisAtSwissStation.InstasteelObject

Inheritance: PaintedObject
Mostra file Open project: danielpcox/Crisis-at-Swiss-Station

Protected Properties

Property Type Description
blobs List
blobtexturename string
segmenttexturename string

Public Methods

Method Description
Draw ( Matrix cameraTransform ) : void
InstasteelObject ( World world, string textureName, float amountofis, float density, float friction, float restitution, float myScale, bool isPulley ) : System
getAmountOfInstasteel ( ) : float
reloadNonSerializedAssets ( ) : void

Private Methods

Method Description
CreateShapes ( List triangles, float density, float friction, float restitution ) : void
GetColinearity ( Vector2 testPoint, Vector2 origin, Vector2 direction ) : float
Split ( LinkedList polygon, Vector2 points, List triangles ) : void

Method Details

Draw() public method

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

InstasteelObject() public method

public InstasteelObject ( World world, string textureName, float amountofis, float density, float friction, float restitution, float myScale, bool isPulley ) : System
world Box2DX.Dynamics.World
textureName string
amountofis float
density float
friction float
restitution float
myScale float
isPulley bool
return System

getAmountOfInstasteel() public method

public getAmountOfInstasteel ( ) : float
return float

reloadNonSerializedAssets() public method

public reloadNonSerializedAssets ( ) : void
return void

Property Details

blobs protected_oe static_oe property

protected static List blobs
return List

blobtexturename protected_oe static_oe property

protected static string blobtexturename
return string

segmenttexturename protected_oe static_oe property

protected static string segmenttexturename
return string