C# Class PhysicsManager.GearSet, clockwork

Manages a collection of interacting gears
Datei anzeigen Open project: shadowseer99/clockwork

Public Properties

Property Type Description
gears List
index int
isMovable bool
relations List
totalAngularMomentum float
totalMomentOfInertia float

Public Methods

Method Description
AnalyzeRelations ( ) : void
GearSet ( int index = -1 ) : System
Reset ( int index = -1 ) : void
ToString ( ) : string
TryAddObj ( CollidingObject, obj, CollidingObject, oldObj ) : bool
UpdateObjects ( ) : void
UpdateRelations ( ) : void

Method Details

AnalyzeRelations() public method

public AnalyzeRelations ( ) : void
return void

GearSet() public method

public GearSet ( int index = -1 ) : System
index int
return System

Reset() public method

public Reset ( int index = -1 ) : void
index int
return void

ToString() public method

public ToString ( ) : string
return string

TryAddObj() public method

public TryAddObj ( CollidingObject, obj, CollidingObject, oldObj ) : bool
obj CollidingObject,
oldObj CollidingObject,
return bool

UpdateObjects() public method

public UpdateObjects ( ) : void
return void

UpdateRelations() public method

public UpdateRelations ( ) : void
return void

Property Details

gears public_oe property

public List gears
return List

index public_oe property

public int index
return int

isMovable public_oe property

public bool isMovable
return bool

relations public_oe property

public List relations
return List

totalAngularMomentum public_oe property

public float totalAngularMomentum
return float

totalMomentOfInertia public_oe property

public float totalMomentOfInertia
return float