|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.simulation.structure.building.function.CropType
public class CropType
The CropType class is a type of crop.
| Constructor Summary | |
|---|---|
CropType(java.lang.String name,
double growingTime)
Constructor |
|
| Method Summary | |
|---|---|
double |
getGrowingTime()
Gets the length of the crop type's growing phase. |
java.lang.String |
getName()
Gets the crop type's name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CropType(java.lang.String name,
double growingTime)
name - - The name of the type of crop.growingTime - - Length of growing phase for crop. (millisols)| Method Detail |
|---|
public java.lang.String getName()
public double getGrowingTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||