Better conveyor physics / Performance test maps / Unit inventory begin
This commit is contained in:
@@ -43,7 +43,7 @@ public abstract class InputHandler extends InputAdapter{
|
||||
}
|
||||
|
||||
public boolean cursorNear(){
|
||||
return Vector2.dst(player.x, player.y, getBlockX() * tilesize, getBlockY() * tilesize) <= placerange;
|
||||
return Vector2.dst(player.x, player.y, getBlockX() * tilesize, getBlockY() * tilesize) <= placerange || debug;
|
||||
}
|
||||
|
||||
public boolean tryPlaceBlock(int x, int y, boolean sound){
|
||||
|
||||
@@ -109,7 +109,7 @@ public enum PlaceMode{
|
||||
}
|
||||
},
|
||||
areaDelete{
|
||||
int maxlen = 20;
|
||||
int maxlen = debug ? 999999: 20;
|
||||
int tilex;
|
||||
int tiley;
|
||||
int endx;
|
||||
|
||||
Reference in New Issue
Block a user