class ChunkTicketManager.TicketDistanceLevelPropagator extends ChunkPosDistanceLevelPropagator
Constructor and Description |
---|
TicketDistanceLevelPropagator() |
Modifier and Type | Method and Description |
---|---|
protected int |
getInitialLevel(long id) |
protected int |
getLevel(long id) |
protected void |
setLevel(long id,
int level) |
int |
update(int distance) |
getPropagatedLevel, isMarker, propagateLevel, recalculateLevel, updateLevel
applyPendingUpdates, getPendingUpdateCount, hasPendingUpdates, propagateLevel, removePendingUpdate, removePendingUpdateIf, resetLevel, updateLevel
protected int getInitialLevel(long id)
getInitialLevel
in class ChunkPosDistanceLevelPropagator
protected int getLevel(long id)
getLevel
in class LevelPropagator
protected void setLevel(long id, int level)
setLevel
in class LevelPropagator
public int update(int distance)