ConstructionManagerFiller@FunctionalInterface public interface ConstructionQueueListener
| Modifier and Type | Method | Description |
|---|---|---|
default void |
add(be.yildizgames.engine.feature.entity.construction.EntityConstructionStatus toBuild,
be.yildizgames.common.model.PlayerId playerId,
be.yildizgames.common.model.EntityId builderId) |
Notify when a new request is added to the queue.
|
void |
notify(ConstructionQueue queue) |
Notify about a change in the state.
|
void notify(ConstructionQueue queue)
queue - Queue changed.default void add(be.yildizgames.engine.feature.entity.construction.EntityConstructionStatus toBuild,
be.yildizgames.common.model.PlayerId playerId,
be.yildizgames.common.model.EntityId builderId)
toBuild - Construction data.playerId - Id of the player requesting the build.builderId - Id of the entity building this entity.Copyright © 2017–2018. All rights reserved.