Свойство | Тип | Описание | |
---|---|---|---|
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 playerNamed ( string name ) : Player, | ||
name | string | |
Результат | Player, |
public resourceNamed ( string name ) : int | ||
name | string | |
Результат | int |
public segmentUnitsWhen ( IEnumerable |
||
segmentUnits | IEnumerable |
|
time | long | |
Результат | IEnumerable |
public segmentsWhen ( long time ) : IEnumerable |
||
time | long | |
Результат | IEnumerable |
public unitTypeNamed ( string name ) : UnitType, | ||
name | string | |
Результат | UnitType, |
public unitsCanMake ( List |
||
parentUnits | List |
|
type | UnitType, | |
Результат | bool |