C# Class Project290.Games.Solitude.SolitudeObjects.SolitudeObject

Show file Open project: scastle/Solitude Class Usage Examples

Public Properties

Property Type Description
body Project290.Physics.Dynamics.Body
drawOrigin Vector2
drawRectangle Microsoft.Xna.Framework.Rectangle
fixture Project290.Physics.Dynamics.Fixture
texture Microsoft.Xna.Framework.Graphics.Texture2D

Public Methods

Method Description
Draw ( ) : void
OnCollision ( Fixture f1, Fixture f2, Contact c ) : bool
SolitudeObject ( ) : System
SolitudeObject ( Vector2 position, World world, Shape shape, float width, float height ) : System
SolitudeObject ( Vector2 position, World world, float width, float height ) : System
Update ( ) : void

Method Details

Draw() public abstract method

public abstract Draw ( ) : void
return void

OnCollision() public method

public OnCollision ( Fixture f1, Fixture f2, Contact c ) : bool
f1 Project290.Physics.Dynamics.Fixture
f2 Project290.Physics.Dynamics.Fixture
c Project290.Physics.Dynamics.Contacts.Contact
return bool

SolitudeObject() public method

public SolitudeObject ( ) : System
return System

SolitudeObject() public method

public SolitudeObject ( Vector2 position, World world, Shape shape, float width, float height ) : System
position Vector2
world Project290.Physics.Dynamics.World
shape Project290.Physics.Collision.Shapes.Shape
width float
height float
return System

SolitudeObject() public method

public SolitudeObject ( Vector2 position, World world, float width, float height ) : System
position Vector2
world Project290.Physics.Dynamics.World
width float
height float
return System

Update() public method

public Update ( ) : void
return void

Property Details

body public property

public Body,Project290.Physics.Dynamics body
return Project290.Physics.Dynamics.Body

drawOrigin public property

public Vector2 drawOrigin
return Vector2

drawRectangle public property

public Rectangle,Microsoft.Xna.Framework drawRectangle
return Microsoft.Xna.Framework.Rectangle

fixture public property

public Fixture,Project290.Physics.Dynamics fixture
return Project290.Physics.Dynamics.Fixture

texture public property

public Texture2D,Microsoft.Xna.Framework.Graphics texture
return Microsoft.Xna.Framework.Graphics.Texture2D