C# 클래스 CastleGame.MainGame

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

보호된 프로퍼티들

프로퍼티 타입 설명
playerone Player

공개 메소드들

메소드 설명
MainGame ( ) : System
MainGame ( string args ) : System
run ( ) : void

보호된 메소드들

메소드 설명
ListCommands ( ) : void
attack ( Enemy enemy, Weapon weapon ) : void
back ( ) : void
forward ( ) : void
healthInfo ( ) : void
help ( ) : void
left ( ) : void
linkRooms ( Room room, Room room2, RoomPlaces roomPlace ) : void
parse ( string command ) : void
printConsoleText ( ) : void
right ( ) : void
roomDescriptionInfo ( ) : void
takeItem ( string slicecmd ) : void

비공개 메소드들

메소드 설명
getEnemy ( string enemy ) : Enemy
getPlayerWeapon ( string weapon ) : Weapon
infoOn ( string slicecmd ) : void
initialiseRooms ( ) : void
isNavigating ( string command ) : bool
navigation ( string command ) : Result
printFleeText ( ) : void
printInventory ( ) : void
processAttack ( string command ) : void
processGo ( string command ) : void
processInfo ( string command ) : void
processTake ( string command ) : void

메소드 상세

ListCommands() 보호된 메소드

protected ListCommands ( ) : void
리턴 void

MainGame() 공개 메소드

public MainGame ( ) : System
리턴 System

MainGame() 공개 메소드

public MainGame ( string args ) : System
args string
리턴 System

attack() 보호된 메소드

protected attack ( Enemy enemy, Weapon weapon ) : void
enemy CastleGame.Enemies.Enemy
weapon Weapon
리턴 void

back() 보호된 메소드

protected back ( ) : void
리턴 void

forward() 보호된 메소드

protected forward ( ) : void
리턴 void

healthInfo() 보호된 메소드

protected healthInfo ( ) : void
리턴 void

help() 보호된 메소드

protected help ( ) : void
리턴 void

left() 보호된 메소드

protected left ( ) : void
리턴 void

linkRooms() 보호된 메소드

protected linkRooms ( Room room, Room room2, RoomPlaces roomPlace ) : void
room Room
room2 Room
roomPlace RoomPlaces
리턴 void

parse() 보호된 메소드

protected parse ( string command ) : void
command string
리턴 void

printConsoleText() 보호된 메소드

protected printConsoleText ( ) : void
리턴 void

right() 보호된 메소드

protected right ( ) : void
리턴 void

roomDescriptionInfo() 보호된 메소드

protected roomDescriptionInfo ( ) : void
리턴 void

run() 공개 메소드

public run ( ) : void
리턴 void

takeItem() 보호된 메소드

protected takeItem ( string slicecmd ) : void
slicecmd string
리턴 void

프로퍼티 상세

playerone 보호되어 있는 프로퍼티

protected Player,CastleGame playerone
리턴 Player