C# Class DTStrike.MyBot.Fleet

Show file Open project: Unexpected/dtstrike Class Usage Examples

Public Properties

Property Type Description
destinationPlanet int
militaryFleet bool
numShips int
owner int
sourcePlanet int
totalTripLength int
turnsRemaining int

Public Methods

Method Description
Fleet ( int owner, int numEngineers, int sourceDept, int destDept, int tripLength, int turnsRemaining, bool militaryFleet ) : System
destroy ( ) : void
doTimeStep ( ) : void

Method Details

Fleet() public method

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
return System

destroy() public method

public destroy ( ) : void
return void

doTimeStep() public method

public doTimeStep ( ) : void
return void

Property Details

destinationPlanet public property

public int destinationPlanet
return int

militaryFleet public property

public bool militaryFleet
return bool

numShips public property

public int numShips
return int

owner public property

public int owner
return int

sourcePlanet public property

public int sourcePlanet
return int

totalTripLength public property

public int totalTripLength
return int

turnsRemaining public property

public int turnsRemaining
return int