org.mars_sim.msp.simulation.vehicle
Class SickBay

java.lang.Object
  extended by org.mars_sim.msp.simulation.person.medical.MedicalStation
      extended by org.mars_sim.msp.simulation.vehicle.SickBay
All Implemented Interfaces:
java.io.Serializable, MedicalAid

public class SickBay
extends MedicalStation
implements java.io.Serializable

The SickBay class is a medical station for a vehicle.

See Also:
Serialized Form

Constructor Summary
SickBay(Vehicle vehicle, int treatmentLevel, int sickBedNum)
          Constructor
 
Method Summary
 Vehicle getVehicle()
          Gets the vehicle this sickbay is in.
 
Methods inherited from class org.mars_sim.msp.simulation.person.medical.MedicalStation
canTreatProblem, getPatientNum, getPatients, getProblemsAwaitingTreatment, getProblemsBeingTreated, getSickBedNum, getSupportedTreatments, getTreatmentLevel, requestTreatment, startTreatment, stopTreatment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SickBay

public SickBay(Vehicle vehicle,
               int treatmentLevel,
               int sickBedNum)
Constructor

Parameters:
vehicle - The vehicle the sickbay is in.
treatmentLevel - The treatment level of the medical station.
sickBedNum - Number of sickbeds.
Method Detail

getVehicle

public Vehicle getVehicle()
Gets the vehicle this sickbay is in.

Returns:
vehicle