|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.core.structure.construction.ConstructionManager
public class ConstructionManager
Manager for construction sites at a settlement.
| Field Summary | |
|---|---|
static java.lang.String |
FINISH_BUILDING_EVENT
|
static java.lang.String |
FINISH_CONSTRUCTION_STAGE_EVENT
|
static java.lang.String |
START_CONSTRUCTION_SITE_EVENT
|
static java.lang.String |
START_CONSTRUCTION_STAGE_EVENT
|
| Constructor Summary | |
|---|---|
ConstructionManager(Settlement settlement)
Constructor |
|
| Method Summary | |
|---|---|
ConstructionSite |
createNewConstructionSite()
Creates a new construction site. |
java.util.List<ConstructedBuildingLogEntry> |
getConstructedBuildingLog()
Gets a log of all constructed buildings at the settlement. |
java.util.List<ConstructionSite> |
getConstructionSites()
Gets all construction sites at the settlement. |
java.util.List<ConstructionSite> |
getConstructionSitesNeedingMission()
Gets construction sites needing a construction mission. |
ConstructionValues |
getConstructionValues()
Gets the construction values. |
void |
removeConstructionSite(ConstructionSite site)
Removes a construction site. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String START_CONSTRUCTION_SITE_EVENT
public static final java.lang.String START_CONSTRUCTION_STAGE_EVENT
public static final java.lang.String FINISH_CONSTRUCTION_STAGE_EVENT
public static final java.lang.String FINISH_BUILDING_EVENT
| Constructor Detail |
|---|
public ConstructionManager(Settlement settlement)
settlement - the settlement.| Method Detail |
|---|
public java.util.List<ConstructionSite> getConstructionSites()
public java.util.List<ConstructionSite> getConstructionSitesNeedingMission()
public ConstructionSite createNewConstructionSite()
public void removeConstructionSite(ConstructionSite site)
throws java.lang.Exception
site - the construction site to remove.
java.lang.Exception - if site doesn't exist.public ConstructionValues getConstructionValues()
public java.util.List<ConstructedBuildingLogEntry> getConstructedBuildingLog()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||