public class BeatController extends java.lang.Object implements ControllerInterface
Modifier and Type | Field and Description |
---|---|
(package private) BeatModelInterface |
model |
(package private) DJView |
view |
Constructor and Description |
---|
BeatController(BeatModelInterface model) |
Modifier and Type | Method and Description |
---|---|
void |
decreaseBPM() |
void |
increaseBPM() |
void |
setBPM(int bpm) |
void |
start() |
void |
stop() |
BeatModelInterface model
public BeatController(BeatModelInterface model)
public void start()
start
in interface ControllerInterface
public void stop()
stop
in interface ControllerInterface
public void increaseBPM()
increaseBPM
in interface ControllerInterface
public void decreaseBPM()
decreaseBPM
in interface ControllerInterface
public void setBPM(int bpm)
setBPM
in interface ControllerInterface