public class HeartController extends java.lang.Object implements ControllerInterface
| Constructor and Description |
|---|
HeartController(HeartModelInterface model) |
| Modifier and Type | Method and Description |
|---|---|
void |
decreaseBPM() |
void |
increaseBPM() |
void |
setBPM(int bpm) |
void |
start() |
void |
stop() |
public HeartController(HeartModelInterface model)
public void start()
start in interface ControllerInterfacepublic void stop()
stop in interface ControllerInterfacepublic void increaseBPM()
increaseBPM in interface ControllerInterfacepublic void decreaseBPM()
decreaseBPM in interface ControllerInterfacepublic void setBPM(int bpm)
setBPM in interface ControllerInterface