프로퍼티 | 타입 | 설명 | |
---|---|---|---|
alternatePaths | List |
||
lastUnseenTile | FP.Vector | ||
networkView | NetworkView | ||
tiles | ].Tile[ | ||
users | User[], |
메소드 | 설명 | |
---|---|---|
addStackEvts ( List |
adds events to stack specified paths as they arrive
|
|
deleteOtherPaths ( IEnumerable |
removes units from all other paths that, if seen, could cause specified units to be removed from specified segments; returns whether successful
|
|
inVis ( long tX, long tY ) : bool |
returns if a hypothetical unit at the origin could see tile with specified (positive or negative) x and y indices
|
|
playerNamed ( string name ) : Player, | ||
resourceNamed ( string name ) : int | ||
segmentUnitsWhen ( IEnumerable |
iterates over all SegmentUnits active at specified time that are past, present, or future versions of specified SegmentUnits
|
|
segmentsWhen ( long time ) : IEnumerable |
||
tileAt ( FP pos ) : Tile, | ||
tileLen ( ) : int | ||
tileVisRadius ( ) : int | ||
unitTypeNamed ( string name ) : UnitType, | ||
unitsCanMake ( List |
||
update ( long curTime ) : void |
master update method which updates the live game simulation to the specified time this doesn't update time traveling units, must call updatePast() separately for each player |
메소드 | 설명 | |
---|---|---|
addAncestors ( SegmentUnit, segmentUnit, HashSet |
||
afterDeserialize ( ) : void | ||
afterSerialize ( ) : void | ||
beforeSerialize ( ) : void |
public addStackEvts ( List |
||
stackPaths | List |
|
nSeeUnits | int | |
리턴 | void |
public deleteOtherPaths ( IEnumerable |
||
segmentUnits | IEnumerable |
|
addDeleteLines | bool | |
addKeepLines | bool | |
리턴 | bool |
public segmentUnitsWhen ( IEnumerable |
||
segmentUnits | IEnumerable |
|
time | long | |
리턴 | IEnumerable |
public unitsCanMake ( List |
||
parentUnits | List |
|
type | UnitType, | |
리턴 | bool |