C# Class Nez.Verlet.Constraint

显示文件 Open project: prime31/Nez

Public Properties

Property Type Description
collidesWithColliders bool

Public Methods

Method Description
debugRender ( Batcher batcher ) : void

debug renders the Constraint

handleCollisions ( int collidesWithLayers ) : void

if collidesWithColliders is true this will be called

solve ( ) : void

solves the Constraint

Method Details

debugRender() public method

debug renders the Constraint
public debugRender ( Batcher batcher ) : void
batcher Batcher Batcher.
return void

handleCollisions() public method

if collidesWithColliders is true this will be called
public handleCollisions ( int collidesWithLayers ) : void
collidesWithLayers int
return void

solve() public abstract method

solves the Constraint
public abstract solve ( ) : void
return void

Property Details

collidesWithColliders public_oe property

if true, the Constraint will check for collisions with standard Nez Colliders. Inner Constraints do not need to have this set to true.
public bool collidesWithColliders
return bool