C# Class CrisisAtSwissStation.InstasteelObject

Inheritance: PaintedObject
Afficher le fichier Open project: danielpcox/Crisis-at-Swiss-Station

Protected Properties

Свойство Type Description
blobs List
blobtexturename string
segmenttexturename string

Méthodes publiques

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

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

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

InstasteelObject() public méthode

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

getAmountOfInstasteel() public méthode

public getAmountOfInstasteel ( ) : float
Résultat float

reloadNonSerializedAssets() public méthode

public reloadNonSerializedAssets ( ) : void
Résultat void

Property Details

blobs protected_oe static_oe property

protected static List blobs
Résultat List

blobtexturename protected_oe static_oe property

protected static string blobtexturename
Résultat string

segmenttexturename protected_oe static_oe property

protected static string segmenttexturename
Résultat string