C# Class SolutionLecture5.PlayerMovementController

Afficher le fichier Open project: Westerdals/PG2200LectureCode2013 Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Initialize ( Microsoft.Xna.Framework.Game game, InputManager input ) : void
game Microsoft.Xna.Framework.Game
input InputManager
Résultat void

PlayerMovementController() public méthode

public PlayerMovementController ( PlayerCharacter toControl, Keys up, Keys right, Keys down, Keys left ) : System
toControl PlayerCharacter
up Keys
right Keys
down Keys
left Keys
Résultat System

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void