C# Class PhysicsManager.GearSet, clockwork

Manages a collection of interacting gears
Show file 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 property

public List gears
return List

index public property

public int index
return int

isMovable public property

public bool isMovable
return bool

relations public property

public List relations
return List

totalAngularMomentum public property

public float totalAngularMomentum
return float

totalMomentOfInertia public property

public float totalMomentOfInertia
return float