C# Class Tyrus_and_Randall.Player

Inheritance: Entity, InputHandler
显示文件 Open project: sgdc/sgdc-old Class Usage Examples

Public Properties

Property Type Description
currentLevel uint

Public Methods

Method Description
CollisionChange ( ) : void
DumpFood ( ) : void
HandleInput ( SGDE game, InputComponent input ) : void
Player ( ) : System
Player ( Vector2 position ) : System
Player ( float x, float y ) : System
Update ( GameTime gameTime ) : void

Protected Methods

Method Description
GetIntersectionRectangle ( CollisionUnit A, CollisionUnit B ) : Vector2
SetUpCollision ( ) : void

Private Methods

Method Description
CameraBound ( ) : Vector2

Method Details

CollisionChange() public method

public CollisionChange ( ) : void
return void

DumpFood() public method

public DumpFood ( ) : void
return void

GetIntersectionRectangle() protected static method

protected static GetIntersectionRectangle ( CollisionUnit A, CollisionUnit B ) : Vector2
A SGDE.Physics.Collision.CollisionUnit
B SGDE.Physics.Collision.CollisionUnit
return Vector2

HandleInput() public method

public HandleInput ( SGDE game, InputComponent input ) : void
game SGDE
input InputComponent
return void

Player() public method

public Player ( ) : System
return System

Player() public method

public Player ( Vector2 position ) : System
position Vector2
return System

Player() public method

public Player ( float x, float y ) : System
x float
y float
return System

SetUpCollision() protected method

protected SetUpCollision ( ) : void
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Property Details

currentLevel public_oe property

public uint currentLevel
return uint