C# Class Castle.Player

Inheritance: SadConsole.Game.GameObject
Afficher le fichier Open project: Thraka/SadConsole Class Usage Examples

Méthodes publiques

Méthode Description
GetFacingPoint ( Direction direction ) : Point
Hit ( bool hasHelmet ) : bool
Kill ( ) : void
Move ( Point location ) : void
Player ( ) : System
PreviewMove ( Direction direction ) : Point
ProcessKeyboard ( SadConsole info ) : bool

Method Details

GetFacingPoint() public méthode

public GetFacingPoint ( Direction direction ) : Point
direction Direction
Résultat Point

Hit() public méthode

public Hit ( bool hasHelmet ) : bool
hasHelmet bool
Résultat bool

Kill() public méthode

public Kill ( ) : void
Résultat void

Move() public méthode

public Move ( Point location ) : void
location Point
Résultat void

Player() public méthode

public Player ( ) : System
Résultat System

PreviewMove() public méthode

public PreviewMove ( Direction direction ) : Point
direction Direction
Résultat Point

ProcessKeyboard() public méthode

public ProcessKeyboard ( SadConsole info ) : bool
info SadConsole
Résultat bool