C# Class Beyond_Beyaan.Fleet

Afficher le fichier Open project: Beyonders/Beyond-Beyaan Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
UpdateSpeed ( ) : void

Method Details

AddShips() public méthode

public AddShips ( Ship ship, int amount ) : void
ship Ship
amount int
Résultat void

AddTransport() public méthode

public AddTransport ( Race race, int amount ) : void
race Beyond_Beyaan.Data_Modules.Race
amount int
Résultat void

ClearEmptyShips() public méthode

public ClearEmptyShips ( ) : void
Résultat void

ColonizePlanet() public méthode

public ColonizePlanet ( Ship whichShip ) : void
whichShip Ship
Résultat void

ConfirmPath() public méthode

public ConfirmPath ( ) : bool
Résultat bool

Fleet() public méthode

public Fleet ( ) : System
Résultat System

GetExpenses() public méthode

public GetExpenses ( ) : float
Résultat float

Load() public méthode

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
Résultat void

Move() public méthode

public Move ( float frameDeltaTime ) : bool
frameDeltaTime float
Résultat bool

ResetMove() public méthode

public ResetMove ( ) : void
Résultat void

Save() public méthode

public Save ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
Résultat void

SetTentativePath() public méthode

public SetTentativePath ( StarSystem destination, bool hasExtendedFuelTanks, Galaxy galaxy ) : void
destination StarSystem
hasExtendedFuelTanks bool
galaxy Galaxy
Résultat void

SubtractShips() public méthode

public SubtractShips ( Ship ship, int amount ) : void
ship Ship
amount int
Résultat void

SubtractTransport() public méthode

public SubtractTransport ( Race race, int amount ) : void
race Beyond_Beyaan.Data_Modules.Race
amount int
Résultat void