C# Class Kappa.entity.PlayerModel

Inheritance: Entity
Exibir arquivo Open project: EEwing/KappaGame Class Usage Examples

Protected Properties

Property Type Description
canJump bool
isJumping bool

Public Methods

Method Description
GenerateBody ( ) : void
Update ( float dt ) : void

Protected Methods

Method Description
OnCollision ( Fixture fix1, Fixture fix2, Contact contact ) : bool
PlayerModel ( ) : FarseerPhysics

Method Details

GenerateBody() public method

public GenerateBody ( ) : void
return void

OnCollision() protected method

protected OnCollision ( Fixture fix1, Fixture fix2, Contact contact ) : bool
fix1 FarseerPhysics.Dynamics.Fixture
fix2 FarseerPhysics.Dynamics.Fixture
contact FarseerPhysics.Dynamics.Contacts.Contact
return bool

PlayerModel() protected method

protected PlayerModel ( ) : FarseerPhysics
return FarseerPhysics

Update() public method

public Update ( float dt ) : void
dt float
return void

Property Details

canJump protected_oe property

protected bool canJump
return bool

isJumping protected_oe property

protected bool isJumping
return bool