C# Class MonoGameQuest.Player

Inheritance: MonoGameQuestComponent
Afficher le fichier Open project: half-ogre/MonoGameQuest Class Usage Examples

Méthodes publiques

Méthode Description
Initialize ( ) : void
Move ( Direction direction ) : void
Move ( Vector2 destination ) : void
Player ( MonoGameQuest game ) : System
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
CaclulateMovementDirection ( Vector2 origin, Vector2 destination ) : Direction

Method Details

Initialize() public méthode

public Initialize ( ) : void
Résultat void

Move() public méthode

public Move ( Direction direction ) : void
direction Direction
Résultat void

Move() public méthode

public Move ( Vector2 destination ) : void
destination Vector2
Résultat void

Player() public méthode

public Player ( MonoGameQuest game ) : System
game MonoGameQuest
Résultat System

Update() public méthode

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