C# Class CastleGame.Player

Afficher le fichier Open project: somoso/psychic-dangerzone Class Usage Examples

Méthodes publiques

Méthode Description
Player ( Room startingroom ) : System
goBack ( ) : bool
goForward ( ) : bool
goLeft ( ) : bool
goRight ( ) : bool
receiveDamage ( Enemy enemy, Weapon weapon ) : void
takeHealth ( Health healthpack ) : void

Method Details

Player() public méthode

public Player ( Room startingroom ) : System
startingroom Room
Résultat System

goBack() public méthode

public goBack ( ) : bool
Résultat bool

goForward() public méthode

public goForward ( ) : bool
Résultat bool

goLeft() public méthode

public goLeft ( ) : bool
Résultat bool

goRight() public méthode

public goRight ( ) : bool
Résultat bool

receiveDamage() public méthode

public receiveDamage ( Enemy enemy, Weapon weapon ) : void
enemy CastleGame.Enemies.Enemy
weapon Weapon
Résultat void

takeHealth() public méthode

public takeHealth ( Health healthpack ) : void
healthpack Health
Résultat void