public class Hottub extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
on |
(package private) int |
temperature |
Constructor and Description |
---|
Hottub() |
Modifier and Type | Method and Description |
---|---|
void |
bubblesOff() |
void |
bubblesOn() |
void |
cool() |
void |
heat() |
void |
jetsOff() |
void |
jetsOn() |
void |
off() |
void |
on() |
void |
setTemperature(int temperature) |
boolean on
int temperature
public Hottub()
public void on()
public void off()
public void bubblesOn()
public void bubblesOff()
public void jetsOn()
public void jetsOff()
public void setTemperature(int temperature)
public void heat()
public void cool()