C# Class Beyond_Beyaan.Fleet

Datei anzeigen Open project: Beyonders/Beyond-Beyaan Class Usage Examples

Public Methods

Method Description
AddShips ( Ship ship, int amount ) : void
AddTransport ( Race race, int amount ) : void
ClearEmptyShips ( ) : void
ColonizePlanet ( Ship whichShip ) : void
ConfirmPath ( ) : bool
Fleet ( ) : System
GetExpenses ( ) : float
Load ( System.Xml.Linq.XElement fleet, FleetManager fleetManager, Empire empire, GameMain gameMain ) : void
Move ( float frameDeltaTime ) : bool
ResetMove ( ) : void
Save ( XmlWriter writer ) : void
SetTentativePath ( StarSystem destination, bool hasExtendedFuelTanks, Galaxy galaxy ) : void
SubtractShips ( Ship ship, int amount ) : void
SubtractTransport ( Race race, int amount ) : void

Private Methods

Method Description
UpdateSpeed ( ) : void

Method Details

AddShips() public method

public AddShips ( Ship ship, int amount ) : void
ship Ship
amount int
return void

AddTransport() public method

public AddTransport ( Race race, int amount ) : void
race Beyond_Beyaan.Data_Modules.Race
amount int
return void

ClearEmptyShips() public method

public ClearEmptyShips ( ) : void
return void

ColonizePlanet() public method

public ColonizePlanet ( Ship whichShip ) : void
whichShip Ship
return void

ConfirmPath() public method

public ConfirmPath ( ) : bool
return bool

Fleet() public method

public Fleet ( ) : System
return System

GetExpenses() public method

public GetExpenses ( ) : float
return float

Load() public method

public Load ( System.Xml.Linq.XElement fleet, FleetManager fleetManager, Empire empire, GameMain gameMain ) : void
fleet System.Xml.Linq.XElement
fleetManager FleetManager
empire Empire
gameMain GameMain
return void

Move() public method

public Move ( float frameDeltaTime ) : bool
frameDeltaTime float
return bool

ResetMove() public method

public ResetMove ( ) : void
return void

Save() public method

public Save ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
return void

SetTentativePath() public method

public SetTentativePath ( StarSystem destination, bool hasExtendedFuelTanks, Galaxy galaxy ) : void
destination StarSystem
hasExtendedFuelTanks bool
galaxy Galaxy
return void

SubtractShips() public method

public SubtractShips ( Ship ship, int amount ) : void
ship Ship
amount int
return void

SubtractTransport() public method

public SubtractTransport ( Race race, int amount ) : void
race Beyond_Beyaan.Data_Modules.Race
amount int
return void