C# Class Nez.Farseer.FSCollisionEdge

Inheritance: FSCollisionShape
Datei anzeigen Open project: prime31/Nez

Public Methods

Method Description
FSCollisionEdge ( ) : FarseerPhysics.Collision.Shapes
setVertex1 ( Vector2 vertex ) : FSCollisionEdge
setVertex2 ( Vector2 vertex ) : FSCollisionEdge
setVertices ( Vector2 vertex1, Vector2 vertex2 ) : FSCollisionEdge

Private Methods

Method Description
recreateFixture ( ) : void

Method Details

FSCollisionEdge() public method

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

setVertex1() public method

public setVertex1 ( Vector2 vertex ) : FSCollisionEdge
vertex Microsoft.Xna.Framework.Vector2
return FSCollisionEdge

setVertex2() public method

public setVertex2 ( Vector2 vertex ) : FSCollisionEdge
vertex Microsoft.Xna.Framework.Vector2
return FSCollisionEdge

setVertices() public method

public setVertices ( Vector2 vertex1, Vector2 vertex2 ) : FSCollisionEdge
vertex1 Microsoft.Xna.Framework.Vector2
vertex2 Microsoft.Xna.Framework.Vector2
return FSCollisionEdge