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