org.mars_sim.msp.simulation.structure
Class Resupply

java.lang.Object
  extended by org.mars_sim.msp.simulation.structure.Resupply
All Implemented Interfaces:
java.io.Serializable

public class Resupply
extends java.lang.Object
implements java.io.Serializable

Resupply mission from Earth for a settlement.

See Also:
Serialized Form

Method Summary
 MarsClock getArrivalDate()
          Gets the arrival date of the resupply mission.
 java.lang.String getResupplyName()
          Gets the name of the resupply mission.
 boolean isDelivered()
          Checks if the supplies have been delivered to the settlement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getArrivalDate

public MarsClock getArrivalDate()
Gets the arrival date of the resupply mission.

Returns:
arrival date as MarsClock instance.

getResupplyName

public java.lang.String getResupplyName()
Gets the name of the resupply mission.

Returns:
name

isDelivered

public boolean isDelivered()
Checks if the supplies have been delivered to the settlement.

Returns:
true if delivered