C# Class CrisisAtSwissStation.PaintedObject

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

Méthodes publiques

Свойство Type Description
INSTASTEEL_COLOR Microsoft.Xna.Framework.Color

Protected Properties

Свойство Type Description
amountOfInstasteel float
blobTextureName string
segmentTextureName string

Méthodes publiques

Méthode Description
Draw ( Matrix cameraTransform ) : void
PaintedObject ( World world, string blobtexturename, string segmenttexturename, List unsanitized_blobs ) : System
getAmountOfInstasteel ( ) : float
getNumBlobs ( ) : int
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
SanitizeBlobs ( List unsanitized_blobs ) : List
Split ( LinkedList polygon, Vector2 points, List triangles ) : void

Method Details

Draw() public méthode

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

PaintedObject() public méthode

public PaintedObject ( World world, string blobtexturename, string segmenttexturename, List unsanitized_blobs ) : System
world Box2DX.Dynamics.World
blobtexturename string
segmenttexturename string
unsanitized_blobs List
Résultat System

getAmountOfInstasteel() public méthode

public getAmountOfInstasteel ( ) : float
Résultat float

getNumBlobs() public méthode

public getNumBlobs ( ) : int
Résultat int

reloadNonSerializedAssets() public méthode

public reloadNonSerializedAssets ( ) : void
Résultat void

Property Details

INSTASTEEL_COLOR public_oe static_oe property

public static Color,Microsoft.Xna.Framework INSTASTEEL_COLOR
Résultat Microsoft.Xna.Framework.Color

amountOfInstasteel protected_oe property

protected float amountOfInstasteel
Résultat float

blobTextureName protected_oe property

protected string blobTextureName
Résultat string

segmentTextureName protected_oe property

protected string segmentTextureName
Résultat string