A B C E F G H I N Q R S U W 

A

add(EntityConstructionStatus, PlayerId, EntityId) - Method in class be.yildizgames.engine.feature.construction.ConstructionManagerFiller
 
add(EntityConstructionStatus, PlayerId, EntityId) - Method in interface be.yildizgames.engine.feature.construction.ConstructionQueueListener
Notify when a new request is added to the queue.
add(R) - Method in class be.yildizgames.engine.feature.construction.ConstructionQueue
Add a new entity to build in the queue.
addBuilder(B) - Method in class be.yildizgames.engine.feature.construction.BuilderManager
Register a new builder.
addEntity(PlayerId, EntityId, R) - Method in class be.yildizgames.engine.feature.construction.ConstructionQueueManager
Add an entity in a list, if the list was empty, notify listener to start building.
addEntityToCreate(WaitingEntity<E>) - Method in interface be.yildizgames.engine.feature.construction.ConstructionListener
 
addInQueue(R) - Method in interface be.yildizgames.engine.feature.construction.QueueBuilder
Add an element to build in the queue.

B

be.yildizgames.engine.feature.construction - package be.yildizgames.engine.feature.construction
Contains all the code relative to the entity construction.
be.yildizgames.feature.construction.shared - module be.yildizgames.feature.construction.shared
 
Buildable - Interface in be.yildizgames.engine.feature.construction
 
Builder - Interface in be.yildizgames.engine.feature.construction
Building having the capacity to build entities.
builderId - Variable in class be.yildizgames.engine.feature.construction.WaitingEntity
Unique id of the builder of this entity.
BuilderManager<B extends Builder> - Class in be.yildizgames.engine.feature.construction
Keep track of all existing builders.
BuilderManager() - Constructor for class be.yildizgames.engine.feature.construction.BuilderManager
 

C

cancel(int) - Method in interface be.yildizgames.engine.feature.construction.Builder
 
cancel(PlayerId, int) - Method in class be.yildizgames.engine.feature.construction.ConstructionQueueManager
Cancel a construction and remove it from the queue.
cancel(WaitingEntity) - Method in interface be.yildizgames.engine.feature.construction.CompleteConstructionManager
Cancel an entity to build.
cancel(WaitingEntity) - Method in class be.yildizgames.engine.feature.construction.ConstructionManager
 
CompleteConstructionManager<E extends be.yildizgames.engine.feature.entity.EntityInConstruction> - Interface in be.yildizgames.engine.feature.construction
 
ConstructionListener<E extends be.yildizgames.engine.feature.entity.EntityInConstruction> - Interface in be.yildizgames.engine.feature.construction
To call when a building task is completed.
ConstructionManager<T extends be.yildizgames.engine.feature.entity.Entity,E extends be.yildizgames.engine.feature.entity.EntityInConstruction,D> - Class in be.yildizgames.engine.feature.construction
Check all builder List and execute their build method.
ConstructionManager(FrameManager, EntityFactory<T, E>, EntityCreator) - Constructor for class be.yildizgames.engine.feature.construction.ConstructionManager
Create a new BuilderManager.
ConstructionManagerFiller - Class in be.yildizgames.engine.feature.construction
This class fill the construction manager with requests coming from the queue manager.
ConstructionManagerFiller(BuilderManager, ConstructionManager) - Constructor for class be.yildizgames.engine.feature.construction.ConstructionManagerFiller
Create a new instance filler.
ConstructionQueue<R extends be.yildizgames.engine.feature.entity.construction.EntityConstructionStatus> - Class in be.yildizgames.engine.feature.construction
Simple list of representation for entities in a queue waiting for construction.
ConstructionQueue(EntityId, int) - Constructor for class be.yildizgames.engine.feature.construction.ConstructionQueue
Create a new instance.
ConstructionQueueFullException - Exception in be.yildizgames.engine.feature.construction
 
ConstructionQueueFullException() - Constructor for exception be.yildizgames.engine.feature.construction.ConstructionQueueFullException
 
ConstructionQueueListener - Interface in be.yildizgames.engine.feature.construction
Listen about an entity construction queue state change.
ConstructionQueueManager<R extends be.yildizgames.engine.feature.entity.construction.EntityConstructionStatus,E extends be.yildizgames.engine.feature.entity.EntityInConstruction> - Class in be.yildizgames.engine.feature.construction
Manage the different construction queues.
ConstructionQueueManager(BuilderManager<QueueBuilder<R>>) - Constructor for class be.yildizgames.engine.feature.construction.ConstructionQueueManager
Create a new instance.
createEntity(EntityToCreate) - Method in interface be.yildizgames.engine.feature.construction.CompleteConstructionManager
 
createEntity(EntityToCreate) - Method in class be.yildizgames.engine.feature.construction.ConstructionManager
 
createEntity(E) - Method in interface be.yildizgames.engine.feature.construction.EntityFactory
Create a new materialized entity from an entity template.
createEntity(E, EntityId, int) - Method in class be.yildizgames.engine.feature.construction.ConstructionManager
 
createEntity(E, EntityId, int) - Method in interface be.yildizgames.engine.feature.construction.SimpleConstructionManager
Build an entity without any waiting time.

E

entity - Variable in class be.yildizgames.engine.feature.construction.WaitingEntity
The entity to build data.
entityComplete(EntityId, PlayerId, EntityType, EntityId, int) - Method in interface be.yildizgames.engine.feature.construction.ConstructionListener
Provide the newly created Entity and its builder Id.
entityComplete(EntityId, PlayerId, EntityType, EntityId, int) - Method in class be.yildizgames.engine.feature.construction.ConstructionQueueManager
 
entityConstructionCanceled(WaitingEntity<E>) - Method in interface be.yildizgames.engine.feature.construction.ConstructionListener
 
entityConstructionCanceled(WaitingEntity<E>) - Method in class be.yildizgames.engine.feature.construction.ConstructionQueueManager
 
entityConstructionStarted() - Method in interface be.yildizgames.engine.feature.construction.ConstructionListener
 
EntityFactory<T extends be.yildizgames.engine.feature.entity.Entity,E extends be.yildizgames.engine.feature.entity.EntityInConstruction> - Interface in be.yildizgames.engine.feature.construction
Factory to build entities.
equals(Object) - Method in class be.yildizgames.engine.feature.construction.WaitingEntity
 

F

frameEnded(long) - Method in class be.yildizgames.engine.feature.construction.ConstructionManager
Call the building logic for all builder in the list.
fullfilPrerequisite(Buildable) - Method in interface be.yildizgames.engine.feature.construction.Builder
Check if this builder is able to create a entity of a given type.

G

getBuilderById(EntityId) - Method in class be.yildizgames.engine.feature.construction.BuilderManager
Retrieve a builder by its id.
getBuilderByPlayer(PlayerId) - Method in class be.yildizgames.engine.feature.construction.BuilderManager
Retrieve all builder for a given player.
getBuilderId() - Method in interface be.yildizgames.engine.feature.construction.Builder
 
getBuilderId() - Method in class be.yildizgames.engine.feature.construction.ConstructionQueue
 
getBuildPosition() - Method in interface be.yildizgames.engine.feature.construction.Builder
 
getEntityToBuildList() - Method in interface be.yildizgames.engine.feature.construction.CompleteConstructionManager
 
getEntityToBuildList() - Method in class be.yildizgames.engine.feature.construction.ConstructionManager
 
getEntityToBuildList(PlayerId) - Method in interface be.yildizgames.engine.feature.construction.CompleteConstructionManager
 
getEntityToBuildList(PlayerId) - Method in class be.yildizgames.engine.feature.construction.ConstructionManager
 
getFreeId() - Method in interface be.yildizgames.engine.feature.construction.IdProvider
Provide an unused id.
getList() - Method in class be.yildizgames.engine.feature.construction.ConstructionQueue
 
getNumberOfEntities(EntityType) - Method in class be.yildizgames.engine.feature.construction.ConstructionQueue
Compute the number of entities for a given type.
getOwner() - Method in interface be.yildizgames.engine.feature.construction.Builder
 
getQueue() - Method in interface be.yildizgames.engine.feature.construction.QueueBuilder
 
getRequiredLevel() - Method in interface be.yildizgames.engine.feature.construction.Buildable
 

H

hashCode() - Method in class be.yildizgames.engine.feature.construction.WaitingEntity
 
hasOnlyOneElement() - Method in class be.yildizgames.engine.feature.construction.ConstructionQueue
 

I

IdProvider - Interface in be.yildizgames.engine.feature.construction
Implementations of this interface will provide id not yet(or no longer) used.
isEmpty() - Method in class be.yildizgames.engine.feature.construction.ConstructionQueue
 
isOwned(PlayerId) - Method in class be.yildizgames.engine.feature.construction.WaitingEntity
 

N

notify(ConstructionQueue) - Method in class be.yildizgames.engine.feature.construction.ConstructionManagerFiller
 
notify(ConstructionQueue) - Method in interface be.yildizgames.engine.feature.construction.ConstructionQueueListener
Notify about a change in the state.

Q

QueueBuilder<R extends be.yildizgames.engine.feature.entity.construction.EntityConstructionStatus> - Interface in be.yildizgames.engine.feature.construction
 

R

remove(int) - Method in class be.yildizgames.engine.feature.construction.ConstructionQueue
 
removeFromQueue(int) - Method in interface be.yildizgames.engine.feature.construction.QueueBuilder
Remove an item from the building queue.
removeListener(ConstructionListener) - Method in class be.yildizgames.engine.feature.construction.ConstructionManager
Remove a listener to notify when a construction is completed.
representation - Variable in class be.yildizgames.engine.feature.construction.WaitingEntity
 

S

set(List<R>) - Method in class be.yildizgames.engine.feature.construction.ConstructionQueue
Reset the construction list with new values.
setQueue(List<R>) - Method in interface be.yildizgames.engine.feature.construction.QueueBuilder
Set the entity construction queue used by the builder.
SimpleConstructionManager<E extends be.yildizgames.engine.feature.entity.EntityInConstruction> - Interface in be.yildizgames.engine.feature.construction
An entity construction manager will build entities, once the process is done, the listeners are notified.

U

update(ConstructionQueue<R>) - Method in class be.yildizgames.engine.feature.construction.ConstructionQueueManager
Refresh a builder state with the updated queue.

W

WaitingEntity<E extends be.yildizgames.engine.feature.entity.EntityInConstruction> - Class in be.yildizgames.engine.feature.construction
Class with entity data and building time.
WaitingEntity(E, EntityConstructionStatus, EntityId) - Constructor for class be.yildizgames.engine.feature.construction.WaitingEntity
 
willNotify(ConstructionListener...) - Method in class be.yildizgames.engine.feature.construction.ConstructionManager
 
willNotify(ConstructionListener...) - Method in interface be.yildizgames.engine.feature.construction.SimpleConstructionManager
Add one or several listener to notify when a construction is completed.
willNotify(ConstructionQueueListener) - Method in class be.yildizgames.engine.feature.construction.ConstructionQueueManager
Add a new queue listener to notify.
A B C E F G H I N Q R S U W 
Skip navigation links

Copyright © 2017–2018. All rights reserved.