C# 클래스 CastleGame.Player

파일 보기 프로젝트 열기: somoso/psychic-dangerzone 1 사용 예제들

공개 메소드들

메소드 설명
Player ( Room startingroom ) : System
goBack ( ) : bool
goForward ( ) : bool
goLeft ( ) : bool
goRight ( ) : bool
receiveDamage ( Enemy enemy, Weapon weapon ) : void
takeHealth ( Health healthpack ) : void

메소드 상세

Player() 공개 메소드

public Player ( Room startingroom ) : System
startingroom Room
리턴 System

goBack() 공개 메소드

public goBack ( ) : bool
리턴 bool

goForward() 공개 메소드

public goForward ( ) : bool
리턴 bool

goLeft() 공개 메소드

public goLeft ( ) : bool
리턴 bool

goRight() 공개 메소드

public goRight ( ) : bool
리턴 bool

receiveDamage() 공개 메소드

public receiveDamage ( Enemy enemy, Weapon weapon ) : void
enemy CastleGame.Enemies.Enemy
weapon Weapon
리턴 void

takeHealth() 공개 메소드

public takeHealth ( Health healthpack ) : void
healthpack Health
리턴 void