Global drone repair / Fixed item bridge
This commit is contained in:
@@ -221,9 +221,7 @@ public abstract class InputHandler extends InputAdapter{
|
||||
return consumed;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tries to select the player to drop off items, returns true if successful.
|
||||
*/
|
||||
/**Tries to select the player to drop off items, returns true if successful.*/
|
||||
boolean tryTapPlayer(float x, float y){
|
||||
if(canTapPlayer(x, y)){
|
||||
droppingItem = true;
|
||||
@@ -236,9 +234,7 @@ public abstract class InputHandler extends InputAdapter{
|
||||
return Vector2.dst(x, y, player.x, player.y) <= playerSelectRange && player.inventory.hasItem();
|
||||
}
|
||||
|
||||
/**
|
||||
* Tries to begin mining a tile, returns true if successful.
|
||||
*/
|
||||
/**Tries to begin mining a tile, returns true if successful.*/
|
||||
boolean tryBeginMine(Tile tile){
|
||||
if(canMine(tile)){
|
||||
//if a block is clicked twice, reset it
|
||||
|
||||
Reference in New Issue
Block a user