C# Class Nez.Farseer.FSCollisionCircle

Inheritance: FSCollisionShape
Datei anzeigen Open project: prime31/Nez

Public Methods

Method Description
FSCollisionCircle ( ) : FarseerPhysics.Collision.Shapes
FSCollisionCircle ( float radius ) : FarseerPhysics.Collision.Shapes
onEntityTransformChanged ( Transform comp ) : void
setCenter ( Vector2 center ) : FSCollisionCircle
setRadius ( float radius ) : FSCollisionCircle

Private Methods

Method Description
recreateFixture ( ) : void

Method Details

FSCollisionCircle() public method

public FSCollisionCircle ( ) : FarseerPhysics.Collision.Shapes
return FarseerPhysics.Collision.Shapes

FSCollisionCircle() public method

public FSCollisionCircle ( float radius ) : FarseerPhysics.Collision.Shapes
radius float
return FarseerPhysics.Collision.Shapes

onEntityTransformChanged() public method

public onEntityTransformChanged ( Transform comp ) : void
comp Transform
return void

setCenter() public method

public setCenter ( Vector2 center ) : FSCollisionCircle
center Microsoft.Xna.Framework.Vector2
return FSCollisionCircle

setRadius() public method

public setRadius ( float radius ) : FSCollisionCircle
radius float
return FSCollisionCircle