Skip to content

Commit

Permalink
Remove unnecessary methods & logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
crykn committed Jul 7, 2023
1 parent aeb7686 commit 6d950e9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,4 @@ public boolean on(GameMapBinaryBinding id) {
return false;
}

@Override
public boolean off(GameMapBinaryBinding id) {
return false;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,13 @@ public MapSelectionInputController(EventBus bus, PerspectiveCamera camera) {

@Override
public boolean on(GameMapBinaryBinding id) {
System.out.println("on");
if (id == GameMapBinaryBinding.SELECT_BUILDING) {
selectionTriggered = true;
return true;
}
return false;
}

@Override
public boolean off(GameMapBinaryBinding id) {
System.out.println("off");
return false;
}

@Override
public boolean moved(int screenX, int screenY) {
if (selectionTriggered) {
Expand Down

0 comments on commit 6d950e9

Please sign in to comment.