package com.bitdecay.jump.leveleditor.ui;

import com.badlogic.gdx.Input;

public enum OptionsMode {
    SELECT("Select", ModeType.MOUSE, 0, Input.Keys.S),
    CREATE("Create", ModeType.MOUSE, 0, Input.Keys.C),
    ONEWAY("One Way", ModeType.MOUSE, 0, Input.Keys.O),
    MOVING_PLATFORM("Moving Platform", ModeType.MOUSE, 0, Input.Keys.M),
    STATIC("Static", ModeType.MOUSE, 0, Input.Keys.UNKNOWN),
    DELETE("Delete", ModeType.MOUSE, 0, Input.Keys.D),

    UNDO("Undo", ModeType.ACTION, 0, Input.Keys.Z),
    REDO("Redo", ModeType.ACTION, 0, Input.Keys.Y),

    SET_TEST_PLAYER("Set Test Player", ModeType.MOUSE, 1, -1),
    SAVE_PLAYER("Save Player Props", ModeType.ACTION, 1, -1),
    LOAD_PLAYER("Load Player Props", ModeType.ACTION, 1, -1),

    SET_SPAWN("Set Spawn Point", ModeType.MOUSE, 2, -1),
    SET_MAT_DIR("Set Material Directory", ModeType.ACTION, 2, -1),

    SAVE_LEVEL("Save Level", ModeType.ACTION, -1, -1),
    LOAD_LEVEL("Load Level", ModeType.ACTION, -1, -1);

    public final String label;
    public final ModeType type;
    public final int group;
    public final int hotkey;

    private OptionsMode(String label, ModeType type, int group, int hotkey) {
        this.label = label;
        this.type = type;
        this.group = group;
        this.hotkey = hotkey;
    }
}

@@ -40,40 +40,8 @@
 i;%0A%0A
-import com.badlogic.gdx.Input;%0A%0A
 publ
@@ -104,22 +104,8 @@
 E, 0
-, Input.Keys.S
 ),%0A 
@@ -145,22 +145,8 @@
 E, 0
-, Input.Keys.C
 ),%0A 
@@ -187,22 +187,8 @@
 E, 0
-, Input.Keys.O
 ),%0A 
@@ -246,22 +246,8 @@
 E, 0
-, Input.Keys.M
 ),%0A 
@@ -287,28 +287,8 @@
 E, 0
-, Input.Keys.UNKNOWN
 ),%0A 
@@ -328,22 +328,8 @@
 E, 0
-, Input.Keys.D
 ),%0A%0A
@@ -367,22 +367,8 @@
 N, 0
-, Input.Keys.Z
 ),%0A 
@@ -405,22 +405,8 @@
 N, 0
-, Input.Keys.Y
 ),%0A%0A
@@ -460,20 +460,16 @@
 .MOUSE, 
-1, -
 1),%0A    
@@ -514,28 +514,24 @@
 ype.ACTION, 
-1, -
 1),%0A    LOAD
@@ -576,20 +576,16 @@
 ACTION, 
-1, -
 1),%0A%0A   
@@ -631,20 +631,16 @@
 MOUSE, 2
-, -1
 ),%0A    S
@@ -694,20 +694,16 @@
 CTION, 2
-, -1
 ),%0A%0A    
@@ -739,28 +739,24 @@
 Type.ACTION,
- -1,
  -1),%0A    LO
@@ -798,12 +798,8 @@
 ION,
- -1,
  -1)
@@ -895,37 +895,8 @@
 oup;
-%0A    public final int hotkey;
 %0A%0A  
@@ -959,20 +959,8 @@
 roup
-, int hotkey
 ) %7B%0A
@@ -1045,38 +1045,8 @@
 up;%0A
-        this.hotkey = hotkey;%0A
     

remove unrelated hotkey things