E - EntityInConstruction real type.CompleteConstructionManager<E>ConstructionManagerpublic interface SimpleConstructionManager<E extends be.yildizgames.engine.feature.entity.EntityInConstruction>
| Modifier and Type | Method | Description |
|---|---|---|
void |
createEntity(E eic,
be.yildizgames.common.model.EntityId builderId,
int index) |
Build an entity without any waiting time.
|
void |
willNotify(ConstructionListener... l) |
Add one or several listener to notify when a construction is completed.
|
void willNotify(ConstructionListener... l)
l - Listeners to notify.void createEntity(E eic, be.yildizgames.common.model.EntityId builderId, int index)
eic - Entity to build state.builderId - Unique id of the builder.index - Unique index for this construction.Copyright © 2017–2018. All rights reserved.