refactor: deleted now useless class PauseHandler
This commit is contained in:
parent
d27bc6326c
commit
302fc5246d
@ -1,23 +0,0 @@
|
|||||||
package uulm.teamname.marvelous.server.lobby;
|
|
||||||
|
|
||||||
public class PauseHandler {
|
|
||||||
private boolean paused;
|
|
||||||
|
|
||||||
public PauseHandler(){
|
|
||||||
paused = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void start() {
|
|
||||||
if(!paused)
|
|
||||||
paused = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void stop() {
|
|
||||||
if(paused)
|
|
||||||
paused = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isPaused() {
|
|
||||||
return paused;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user