|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.simulation.person.medical.MedicalStation
org.mars_sim.msp.simulation.vehicle.SickBay
public class SickBay
The SickBay class is a medical station for a vehicle.
| 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 |
|---|
public SickBay(Vehicle vehicle,
int treatmentLevel,
int sickBedNum)
vehicle - The vehicle the sickbay is in.treatmentLevel - The treatment level of the medical station.sickBedNum - Number of sickbeds.| Method Detail |
|---|
public Vehicle getVehicle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||