|
||||||||||
| 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.ConstructionUtil
public class ConstructionUtil
Utility class for construction.
| Method Summary | |
|---|---|
static List<ConstructionStageInfo> |
getAllConstructionStageInfoList()
Gets a list of all construction stage info available. |
static List<ConstructionStageInfo> |
getBuildingConstructionStageInfoList()
Gets a list of all building construction stage info. |
static List<ConstructionStageInfo> |
getBuildingConstructionStageInfoList(int constructionSkill)
Gets a list of all building construction stage info. |
static List<String> |
getConstructableBuildingNames(ConstructionStageInfo stageInfo)
Gets a list of names of buildings that are constructable from a given construction stage info. |
static ConstructionStageInfo |
getConstructionStageInfo(String stageName)
Gets a construction stage info matching a given name. |
static List<ConstructionStageInfo> |
getConstructionStageInfoList(String stageType)
Gets a list of all construction stage info of a given type. |
static List<ConstructionStageInfo> |
getConstructionStageInfoList(String stageType,
int constructionSkill)
Gets a list of all construction stage info of a given type. |
static List<ConstructionStageInfo> |
getFoundationConstructionStageInfoList()
Gets a list of all foundation construction stage info. |
static List<ConstructionStageInfo> |
getFoundationConstructionStageInfoList(int constructionSkill)
Gets a list of all foundation construction stage info. |
static List<ConstructionStageInfo> |
getFrameConstructionStageInfoList()
Gets a list of all frame construction stage info. |
static List<ConstructionStageInfo> |
getFrameConstructionStageInfoList(int constructionSkill)
Gets a list of all frame construction stage info. |
static List<ConstructionStageInfo> |
getNextPossibleStages(ConstructionStageInfo stageInfo)
Gets a list of the next possible construction stages from a given construction stage info. |
static ConstructionStageInfo |
getPrerequisiteStage(ConstructionStageInfo stageInfo)
Gets the prerequisite construction stage info for a given stage info. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ConstructionStageInfo getConstructionStageInfo(String stageName)
stageName - the stage info name.
Exception - if error finding construction stage info.public static List<ConstructionStageInfo> getConstructionStageInfoList(String stageType)
stageType - the type of stage.
Exception - if error getting list.
public static List<ConstructionStageInfo> getConstructionStageInfoList(String stageType,
int constructionSkill)
stageType - the type of stage.constructionSkill - the architect's construction skill.
Exception - if error getting list.public static List<ConstructionStageInfo> getFoundationConstructionStageInfoList()
Exception - if error getting list.public static List<ConstructionStageInfo> getFoundationConstructionStageInfoList(int constructionSkill)
constructionSkill - the architect's construction skill.
Exception - if error getting list.public static List<ConstructionStageInfo> getFrameConstructionStageInfoList()
Exception - if error getting list.public static List<ConstructionStageInfo> getFrameConstructionStageInfoList(int constructionSkill)
constructionSkill - the architect's construction skill.
Exception - if error getting list.public static List<ConstructionStageInfo> getBuildingConstructionStageInfoList()
Exception - if error getting list.public static List<ConstructionStageInfo> getBuildingConstructionStageInfoList(int constructionSkill)
constructionSkill - the architect's construction skill.
Exception - if error getting list.public static List<ConstructionStageInfo> getAllConstructionStageInfoList()
Exception - if error getting list.public static List<String> getConstructableBuildingNames(ConstructionStageInfo stageInfo)
stageInfo - the construction stage info.
Exception - if error getting list.public static List<ConstructionStageInfo> getNextPossibleStages(ConstructionStageInfo stageInfo)
stageInfo - the construction stage info.
Exception - if error getting list.public static ConstructionStageInfo getPrerequisiteStage(ConstructionStageInfo stageInfo)
stageInfo - the construction stage info.
Exception - if error finding prerequisite stage info.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||