org.mars_sim.msp.core.mars
Class Mars

java.lang.Object
  extended by org.mars_sim.msp.core.mars.Mars
All Implemented Interfaces:
Serializable

public class Mars
extends Object
implements Serializable

Mars represents the planet Mars in the simulation.

See Also:
Serialized Form

Field Summary
static double MARS_CIRCUMFERENCE
           
static double MARS_RADIUS_KM
           
 
Constructor Summary
Mars()
          Constructor
 
Method Summary
 void destroy()
          Prepare object for garbage collection.
 OrbitInfo getOrbitInfo()
          Returns the orbital information
 SurfaceFeatures getSurfaceFeatures()
          Returns surface features
 Weather getWeather()
          Returns Martian weather
 void initializeTransientData()
          Initialize transient data in the simulation.
 void timePassing(double time)
          Time passing in the simulation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MARS_RADIUS_KM

public static final double MARS_RADIUS_KM
See Also:
Constant Field Values

MARS_CIRCUMFERENCE

public static final double MARS_CIRCUMFERENCE
See Also:
Constant Field Values
Constructor Detail

Mars

public Mars()
Constructor

Throws:
Exception - if Mars could not be constructed.
Method Detail

initializeTransientData

public void initializeTransientData()
Initialize transient data in the simulation.

Throws:
Exception - if transient data could not be constructed.

getOrbitInfo

public OrbitInfo getOrbitInfo()
Returns the orbital information

Returns:
orbital information

getSurfaceFeatures

public SurfaceFeatures getSurfaceFeatures()
Returns surface features

Returns:
surfaces features

getWeather

public Weather getWeather()
Returns Martian weather

Returns:
weather

timePassing

public void timePassing(double time)
Time passing in the simulation.

Parameters:
time - time in millisols
Throws:
Exception - if error during time.

destroy

public void destroy()
Prepare object for garbage collection.



Copyright © 2009-2013. All Rights Reserved.