C# Class spaceconquest.Ship

Inheritance: Unit
Afficher le fichier Open project: cclay/spaceconquest Class Usage Examples

Méthodes publiques

Свойство Type Description
dead bool
shiptype ShipType

Protected Properties

Свойство Type Description
currentAngle double
hoveringAcc float
hoveringHeight float
modelstring String
oldposition Vector3
speed int
targetangle double
targetangles Queue
targetpositions Queue
targetvector Vector3

Méthodes publiques

Méthode Description
Draw ( Microsoft world, Microsoft view, Microsoft projection ) : void
DrawGhost ( Microsoft world, Microsoft view, Microsoft projection ) : void
GetBuildTime ( ) : int
GetMiningRobots ( ) : int
GetReachable ( ) : List
GetShipType ( ) : ShipType
HopOn ( Ship c ) : void
SetGhost ( Hex3D target ) : void
SetMiningRobots ( int n ) : void
Ship ( ShipType st ) : System
getSpeed ( ) : int
kill ( ) : void
move ( Hex3D target ) : void
upkeep ( ) : void

Private Methods

Méthode Description
getprefix ( ) : String
reachable ( Hex3D startHex, int r ) : List

Method Details

Draw() public méthode

public Draw ( Microsoft world, Microsoft view, Microsoft projection ) : void
world Microsoft
view Microsoft
projection Microsoft
Résultat void

DrawGhost() public méthode

public DrawGhost ( Microsoft world, Microsoft view, Microsoft projection ) : void
world Microsoft
view Microsoft
projection Microsoft
Résultat void

GetBuildTime() public méthode

public GetBuildTime ( ) : int
Résultat int

GetMiningRobots() public méthode

public GetMiningRobots ( ) : int
Résultat int

GetReachable() public méthode

public GetReachable ( ) : List
Résultat List

GetShipType() public méthode

public GetShipType ( ) : ShipType
Résultat ShipType

HopOn() public méthode

public HopOn ( Ship c ) : void
c Ship
Résultat void

SetGhost() public méthode

public SetGhost ( Hex3D target ) : void
target Hex3D
Résultat void

SetMiningRobots() public méthode

public SetMiningRobots ( int n ) : void
n int
Résultat void

Ship() public méthode

public Ship ( ShipType st ) : System
st ShipType
Résultat System

getSpeed() public méthode

public getSpeed ( ) : int
Résultat int

kill() public méthode

public kill ( ) : void
Résultat void

move() public méthode

public move ( Hex3D target ) : void
target Hex3D
Résultat void

upkeep() public méthode

public upkeep ( ) : void
Résultat void

Property Details

currentAngle protected_oe property

protected double currentAngle
Résultat double

dead public_oe property

public bool dead
Résultat bool

hoveringAcc protected_oe property

protected float hoveringAcc
Résultat float

hoveringHeight protected_oe property

protected float hoveringHeight
Résultat float

modelstring protected_oe property

protected String modelstring
Résultat String

oldposition protected_oe property

protected Vector3 oldposition
Résultat Vector3

shiptype public_oe property

public ShipType,spaceconquest shiptype
Résultat ShipType

speed protected_oe property

protected int speed
Résultat int

targetangle protected_oe property

protected double targetangle
Résultat double

targetangles protected_oe property

protected Queue targetangles
Résultat Queue

targetpositions protected_oe property

protected Queue targetpositions
Résultat Queue

targetvector protected_oe property

protected Vector3 targetvector
Résultat Vector3