Uses of Class
name.moore.kevin.ze.game.build
Packages that use build
Package
Description
This package handles the very high level aspects of loading and saving games.
JMonkeyEngine states.
-
Uses of build in name.moore.kevin.ze.game
Fields in name.moore.kevin.ze.game declared as buildModifier and TypeFieldDescriptionprivate buildbuildQueue.completedSet with a completed ticket - the caller needs to then collect it and remove from queue.Fields in name.moore.kevin.ze.game with type parameters of type buildModifier and TypeFieldDescriptionbuild.prerequisitesAll these tickets must be COMPLETED before we can progressToCompleted this ticket.Methods in name.moore.kevin.ze.game that return buildModifier and TypeMethodDescriptionbuild.assignedTicket(manufacture mc)Move ticket from REQUEST -> BLOCKED.buildQueue.getCompletedandRemove()Get a single ticket identified as COMPLETED and remove from queue.buildQueue.progress()A day has passed, progress one of the INPROGRESS tickets, possibly resulting in it becoming COMPLETE.build.progressToCompleted()Progress this build by one day if possible.Methods in name.moore.kevin.ze.game that return types with arguments of type buildModifier and TypeMethodDescriptionbuildQueue.getBlocked()Find any tickets in state BLOCKED.buildQueue.getCompleted()Find any tickets in state COMPLETED.buildQueue.getDeadandRemove()buildQueue.getInprogress()Find any tickets in state BLOCKED.build.getPrerequisites()All the tickets that are prerequisites for this ticket.buildQueue.getTickets(build.PROGRESS p)Methods in name.moore.kevin.ze.game with parameters of type buildModifier and TypeMethodDescriptionbooleanAdd the build to the queue.booleanbuild.addPrerequisite(build b)Add a build that must be completed before this one can be. -
Uses of build in name.moore.kevin.ze.game.states
Fields in name.moore.kevin.ze.game.states with type parameters of type buildModifier and TypeFieldDescriptionprivate com.google.common.collect.EvictingQueue<build>manufacturingState.completedSentThe completed tickets waiting to be processed.private com.google.common.collect.EvictingQueue<build>manufacturingState.constructSentmanufacturingState.isCompositeThese tickets involve multiple parts.manufacturingState.isCompositeThese tickets involve multiple parts.manufacturingState.requestedTicketsIncoming ticket requests.Methods in name.moore.kevin.ze.game.states with parameters of type buildModifier and TypeMethodDescriptionprivate com.simsilica.es.EntityIdmanufacturingState.addToIndustryQueue(build bticket, com.simsilica.es.EntityId peid)private com.simsilica.es.EntityIdmanufacturingState.addToOrbitalQueue(build bticket, com.simsilica.es.EntityId peid)Find shipyards orbiting this planet and choose one.private com.simsilica.es.EntityIdmanufacturingState.addToPlanetQueue(build bticket, com.simsilica.es.EntityId peid)private buildQueuemanufacturingState.addtoQueue(build bticket, com.simsilica.es.EntityId buildereid, com.simsilica.es.EntityId peid)Utility function to add a build ticket to a specific buildQueue.private booleanmanufacturingState.assignTicket(build bticket, com.simsilica.es.EntityId peid)Assign a build request into the correct buildqueue.private voidProcess an initial request ticket into the fully structured series of tickets/prerequisites required to fulfill that request.private voidmanufacturingState.toCompleted(build ticket, com.simsilica.es.EntityId planet)Ticket final destination, the ticket HAS just completed.private voidmanufacturingState.toInprogress(build ticket, com.simsilica.es.EntityId planet)Can this ticket be moved from BLOCKED -> INPROGRESS?