added debug
This commit is contained in:
@@ -56,6 +56,7 @@ public void setState(GameStates newState){
|
|||||||
if(this.state != null){
|
if(this.state != null){
|
||||||
this.state.exit();
|
this.state.exit();
|
||||||
}
|
}
|
||||||
|
System.out.println("jetziger State:"+this.state + " new State:"+newState);
|
||||||
newState.enter();
|
newState.enter();
|
||||||
state = newState;
|
state = newState;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user