Incomplete switch

Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com>
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago committed by GitHub
parent 1277e0948a
commit 31bb16e54e
  1. 3
      src/sig/objects/ConfigureControls.java

@ -148,6 +148,7 @@ public class ConfigureControls extends Object{
@Override @Override
@SuppressWarnings("incomplete")
public void KeyPressed(Action a) { public void KeyPressed(Action a) {
switch(a) { switch(a) {
case PLAY_GAME:{ case PLAY_GAME:{
@ -161,6 +162,8 @@ public class ConfigureControls extends Object{
Map.LoadMap(RabiClone.CURRENT_MAP); Map.LoadMap(RabiClone.CURRENT_MAP);
RabiClone.OBJ.add(RabiClone.level_renderer = new EditorRenderer(RabiClone.p)); RabiClone.OBJ.add(RabiClone.level_renderer = new EditorRenderer(RabiClone.p));
}break; }break;
default:
break;
} }
} }

Loading…
Cancel
Save