C# Class SolutionLecture5.PlayerMovementController

Show file Open project: Westerdals/PG2200LectureCode2013 Class Usage Examples

Public Methods

Method Description
Initialize ( Microsoft.Xna.Framework.Game game, InputManager input ) : void
PlayerMovementController ( PlayerCharacter toControl, Keys up, Keys right, Keys down, Keys left ) : System
Update ( GameTime gameTime ) : void

Method Details

Initialize() public method

public Initialize ( Microsoft.Xna.Framework.Game game, InputManager input ) : void
game Microsoft.Xna.Framework.Game
input InputManager
return void

PlayerMovementController() public method

public PlayerMovementController ( PlayerCharacter toControl, Keys up, Keys right, Keys down, Keys left ) : System
toControl PlayerCharacter
up Keys
right Keys
down Keys
left Keys
return System

Update() public method

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