C# Class CrisisAtSwissStation.PaintedObject

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

Public Properties

Property Type Description
INSTASTEEL_COLOR Microsoft.Xna.Framework.Color

Protected Properties

Property Type Description
amountOfInstasteel float
blobTextureName string
segmentTextureName string

Public Methods

Method Description
Draw ( Matrix cameraTransform ) : void
PaintedObject ( World world, string blobtexturename, string segmenttexturename, List unsanitized_blobs ) : System
getAmountOfInstasteel ( ) : float
getNumBlobs ( ) : int
reloadNonSerializedAssets ( ) : void

Private Methods

Method 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 method

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

PaintedObject() public method

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

getAmountOfInstasteel() public method

public getAmountOfInstasteel ( ) : float
return float

getNumBlobs() public method

public getNumBlobs ( ) : int
return int

reloadNonSerializedAssets() public method

public reloadNonSerializedAssets ( ) : void
return void

Property Details

INSTASTEEL_COLOR public_oe static_oe property

public static Color,Microsoft.Xna.Framework INSTASTEEL_COLOR
return Microsoft.Xna.Framework.Color

amountOfInstasteel protected_oe property

protected float amountOfInstasteel
return float

blobTextureName protected_oe property

protected string blobTextureName
return string

segmentTextureName protected_oe property

protected string segmentTextureName
return string