ConstructionQueueManagerpublic interface ConstructionListener<E extends be.yildizgames.engine.feature.entity.EntityInConstruction>
| Modifier and Type | Method | Description |
|---|---|---|
default void |
addEntityToCreate(WaitingEntity<E> e) |
|
default void |
entityComplete(be.yildizgames.common.model.EntityId id,
be.yildizgames.common.model.PlayerId owner,
be.yildizgames.engine.feature.entity.data.EntityType type,
be.yildizgames.common.model.EntityId builder,
int request) |
Provide the newly created Entity and its builder Id.
|
default void |
entityConstructionCanceled(WaitingEntity<E> e) |
|
default void |
entityConstructionStarted() |
default void entityConstructionStarted()
default void entityComplete(be.yildizgames.common.model.EntityId id,
be.yildizgames.common.model.PlayerId owner,
be.yildizgames.engine.feature.entity.data.EntityType type,
be.yildizgames.common.model.EntityId builder,
int request)
id - Id of the built entity.owner - Id of the owner of the built entity.type - Type of the built entity.builder - Id of the builder of the entity.request - An index to retrieve an entity against a request.default void entityConstructionCanceled(WaitingEntity<E> e)
default void addEntityToCreate(WaitingEntity<E> e)
Copyright © 2017–2018. All rights reserved.