C# 클래스 spaceconquest.Ship

상속: Unit
파일 보기 프로젝트 열기: cclay/spaceconquest 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
dead bool
shiptype ShipType

보호된 프로퍼티들

프로퍼티 타입 설명
currentAngle double
hoveringAcc float
hoveringHeight float
modelstring String
oldposition Vector3
speed int
targetangle double
targetangles Queue
targetpositions Queue
targetvector Vector3

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
getprefix ( ) : String
reachable ( Hex3D startHex, int r ) : List

메소드 상세

Draw() 공개 메소드

public Draw ( Microsoft world, Microsoft view, Microsoft projection ) : void
world Microsoft
view Microsoft
projection Microsoft
리턴 void

DrawGhost() 공개 메소드

public DrawGhost ( Microsoft world, Microsoft view, Microsoft projection ) : void
world Microsoft
view Microsoft
projection Microsoft
리턴 void

GetBuildTime() 공개 메소드

public GetBuildTime ( ) : int
리턴 int

GetMiningRobots() 공개 메소드

public GetMiningRobots ( ) : int
리턴 int

GetReachable() 공개 메소드

public GetReachable ( ) : List
리턴 List

GetShipType() 공개 메소드

public GetShipType ( ) : ShipType
리턴 ShipType

HopOn() 공개 메소드

public HopOn ( Ship c ) : void
c Ship
리턴 void

SetGhost() 공개 메소드

public SetGhost ( Hex3D target ) : void
target Hex3D
리턴 void

SetMiningRobots() 공개 메소드

public SetMiningRobots ( int n ) : void
n int
리턴 void

Ship() 공개 메소드

public Ship ( ShipType st ) : System
st ShipType
리턴 System

getSpeed() 공개 메소드

public getSpeed ( ) : int
리턴 int

kill() 공개 메소드

public kill ( ) : void
리턴 void

move() 공개 메소드

public move ( Hex3D target ) : void
target Hex3D
리턴 void

upkeep() 공개 메소드

public upkeep ( ) : void
리턴 void

프로퍼티 상세

currentAngle 보호되어 있는 프로퍼티

protected double currentAngle
리턴 double

dead 공개적으로 프로퍼티

public bool dead
리턴 bool

hoveringAcc 보호되어 있는 프로퍼티

protected float hoveringAcc
리턴 float

hoveringHeight 보호되어 있는 프로퍼티

protected float hoveringHeight
리턴 float

modelstring 보호되어 있는 프로퍼티

protected String modelstring
리턴 String

oldposition 보호되어 있는 프로퍼티

protected Vector3 oldposition
리턴 Vector3

shiptype 공개적으로 프로퍼티

public ShipType,spaceconquest shiptype
리턴 ShipType

speed 보호되어 있는 프로퍼티

protected int speed
리턴 int

targetangle 보호되어 있는 프로퍼티

protected double targetangle
리턴 double

targetangles 보호되어 있는 프로퍼티

protected Queue targetangles
리턴 Queue

targetpositions 보호되어 있는 프로퍼티

protected Queue targetpositions
리턴 Queue

targetvector 보호되어 있는 프로퍼티

protected Vector3 targetvector
리턴 Vector3