C# 클래스 MoodSwingGame.MSUnitHandler

파일 보기 프로젝트 열기: verngutz/MoodSwing 1 사용 예제들

공개 메소드들

메소드 설명
AddUnit ( MSUnit unit ) : void
GetInstance ( ) : MSUnitHandler
Restart ( ) : MSUnitHandler
SendVolunteer ( MSMap map, MSUnit unit, MSTower office ) : void
SendWorkers ( MSMap map, MSChangeableBuilding bldg, int qty ) : void
SetMobEnabled ( MSMilleniumDevelopmentGoal mdg, bool enabled ) : void
TryForBaby ( MSMap map ) : void
Update ( MSMap map ) : void
VolunteerCitizen ( MSMap map ) : void
load ( StreamReader sr, MSMap map ) : void
toString ( ) : string

비공개 메소드들

메소드 설명
MSUnitHandler ( ) : System
getGoal ( int index ) : MSMilleniumDevelopmentGoal?
getMobParam ( MSMilleniumDevelopmentGoal mdg ) : MSMobParam

메소드 상세

AddUnit() 공개 메소드

public AddUnit ( MSUnit unit ) : void
unit MSUnit
리턴 void

GetInstance() 공개 정적인 메소드

public static GetInstance ( ) : MSUnitHandler
리턴 MSUnitHandler

Restart() 공개 정적인 메소드

public static Restart ( ) : MSUnitHandler
리턴 MSUnitHandler

SendVolunteer() 공개 메소드

public SendVolunteer ( MSMap map, MSUnit unit, MSTower office ) : void
map MSMap
unit MSUnit
office MSTower
리턴 void

SendWorkers() 공개 메소드

public SendWorkers ( MSMap map, MSChangeableBuilding bldg, int qty ) : void
map MSMap
bldg MSChangeableBuilding
qty int
리턴 void

SetMobEnabled() 공개 메소드

public SetMobEnabled ( MSMilleniumDevelopmentGoal mdg, bool enabled ) : void
mdg MSMilleniumDevelopmentGoal
enabled bool
리턴 void

TryForBaby() 공개 메소드

public TryForBaby ( MSMap map ) : void
map MSMap
리턴 void

Update() 공개 메소드

public Update ( MSMap map ) : void
map MSMap
리턴 void

VolunteerCitizen() 공개 메소드

public VolunteerCitizen ( MSMap map ) : void
map MSMap
리턴 void

load() 공개 메소드

public load ( StreamReader sr, MSMap map ) : void
sr System.IO.StreamReader
map MSMap
리턴 void

toString() 공개 메소드

public toString ( ) : string
리턴 string