C# 클래스 DTStrike.MyBot.Fleet

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

공개 프로퍼티들

프로퍼티 타입 설명
destinationPlanet int
militaryFleet bool
numShips int
owner int
sourcePlanet int
totalTripLength int
turnsRemaining int

공개 메소드들

메소드 설명
Fleet ( int owner, int numEngineers, int sourceDept, int destDept, int tripLength, int turnsRemaining, bool militaryFleet ) : System
destroy ( ) : void
doTimeStep ( ) : void

메소드 상세

Fleet() 공개 메소드

public Fleet ( int owner, int numEngineers, int sourceDept, int destDept, int tripLength, int turnsRemaining, bool militaryFleet ) : System
owner int
numEngineers int
sourceDept int
destDept int
tripLength int
turnsRemaining int
militaryFleet bool
리턴 System

destroy() 공개 메소드

public destroy ( ) : void
리턴 void

doTimeStep() 공개 메소드

public doTimeStep ( ) : void
리턴 void

프로퍼티 상세

destinationPlanet 공개적으로 프로퍼티

public int destinationPlanet
리턴 int

militaryFleet 공개적으로 프로퍼티

public bool militaryFleet
리턴 bool

numShips 공개적으로 프로퍼티

public int numShips
리턴 int

owner 공개적으로 프로퍼티

public int owner
리턴 int

sourcePlanet 공개적으로 프로퍼티

public int sourcePlanet
리턴 int

totalTripLength 공개적으로 프로퍼티

public int totalTripLength
리턴 int

turnsRemaining 공개적으로 프로퍼티

public int turnsRemaining
리턴 int