XG Proyect

ShipsEntity
in package

Ships Entity Class

Tags
category

Entity

author

XG Proyect Team

license

http://www.xgproyect.org XG Proyect

link
http://www.xgproyect.org
version
3.1.0

Table of Contents

$_ships  : array<string|int, mixed>
__construct()  : void
Init with the ships data
getShipBattlecruiser()  : string
Return the ship battlecruiser
getShipBattleship()  : string
Return the ship battleship
getShipBigCargoShip()  : string
Return the ship big cargo ship
getShipBomber()  : string
Return the ship bomber
getShipColonyShip()  : string
Return the ship_colony_ship
getShipCruiser()  : string
Return the ship cruiser
getShipDeathstar()  : string
Return the ship deathstar
getShipDestroyer()  : string
Return the ship destroyer
getShipEspionageProbe()  : string
Return the ship espionage probe
getShipHeavyFighter()  : string
Return the ship heavy fighter
getShipId()  : string
Return the ship id
getShipLightFighter()  : string
Return the ship light fighter
getShipPlanetId()  : string
Return the ship planet id
getShipRecycler()  : string
Return the ship_recycler
getShipSmallCargoShip()  : string
Return the ship small cargo ship
getShipSolarSatellite()  : string
Return the ship solar satellite
setShips()  : void
Set the current ships

Properties

$_ships

private array<string|int, mixed> $_ships = []

Methods

__construct()

Init with the ships data

public __construct(array<string|int, mixed> $ships) : void
Parameters
$ships : array<string|int, mixed>

Ships

Return values
void

getShipBattlecruiser()

Return the ship battlecruiser

public getShipBattlecruiser() : string
Return values
string

getShipBattleship()

Return the ship battleship

public getShipBattleship() : string
Return values
string

getShipBigCargoShip()

Return the ship big cargo ship

public getShipBigCargoShip() : string
Return values
string

getShipBomber()

Return the ship bomber

public getShipBomber() : string
Return values
string

getShipColonyShip()

Return the ship_colony_ship

public getShipColonyShip() : string
Return values
string

getShipCruiser()

Return the ship cruiser

public getShipCruiser() : string
Return values
string

getShipDeathstar()

Return the ship deathstar

public getShipDeathstar() : string
Return values
string

getShipDestroyer()

Return the ship destroyer

public getShipDestroyer() : string
Return values
string

getShipEspionageProbe()

Return the ship espionage probe

public getShipEspionageProbe() : string
Return values
string

getShipHeavyFighter()

Return the ship heavy fighter

public getShipHeavyFighter() : string
Return values
string

getShipId()

Return the ship id

public getShipId() : string
Return values
string

getShipLightFighter()

Return the ship light fighter

public getShipLightFighter() : string
Return values
string

getShipPlanetId()

Return the ship planet id

public getShipPlanetId() : string
Return values
string

getShipRecycler()

Return the ship_recycler

public getShipRecycler() : string
Return values
string

getShipSmallCargoShip()

Return the ship small cargo ship

public getShipSmallCargoShip() : string
Return values
string

getShipSolarSatellite()

Return the ship solar satellite

public getShipSolarSatellite() : string
Return values
string

setShips()

Set the current ships

private setShips(array<string|int, mixed> $ships) : void
Parameters
$ships : array<string|int, mixed>

Ships

Tags
throws
Exception
Return values
void

Search results