Add mouse-based movement (#1037)

* Add mouse-based movement

* Rename keybind to 'Follow Mouse'
This commit is contained in:
Joshua Fan
2019-11-11 13:00:35 -06:00
committed by Anuken
parent 8d19c8b7af
commit dcdec7f55f
3 changed files with 7 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ import io.anuke.arc.input.KeyCode;
public enum Binding implements KeyBind{
move_x(new Axis(KeyCode.A, KeyCode.D), "general"),
move_y(new Axis(KeyCode.S, KeyCode.W)),
mouse_move(KeyCode.MOUSE_BACK),
select(KeyCode.MOUSE_LEFT),
deselect(KeyCode.MOUSE_RIGHT),
break_block(KeyCode.MOUSE_RIGHT),