public class HeartController extends java.lang.Object implements ControllerInterface
| Modifier and Type | Field and Description | 
|---|---|
| (package private) HeartModelInterface | model | 
| (package private) DJView | view | 
| Constructor and Description | 
|---|
| HeartController(HeartModelInterface model) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | decreaseBPM() | 
| void | increaseBPM() | 
| void | setBPM(int bpm) | 
| void | start() | 
| void | stop() | 
HeartModelInterface model
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