Added tractor beam turret
This commit is contained in:
@@ -34,7 +34,7 @@ public enum Binding implements KeyBind{
|
||||
schematic_flip_y(KeyCode.x),
|
||||
schematic_menu(KeyCode.t),
|
||||
|
||||
category_prev(KeyCode.comma),
|
||||
category_prev(KeyCode.comma, "blocks"),
|
||||
category_next(KeyCode.period),
|
||||
|
||||
block_select_left(KeyCode.left),
|
||||
|
||||
@@ -150,7 +150,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
||||
item,
|
||||
amount,
|
||||
player.x + Angles.trnsx(player.unit().rotation + 180f, backTrns), player.y + Angles.trnsy(player.unit().rotation + 180f, backTrns),
|
||||
new Vec2(tile.x() + stackTrns.x, tile.y() + stackTrns.y),
|
||||
new Vec2(tile.x + stackTrns.x, tile.y + stackTrns.y),
|
||||
() -> tile.handleStack(item, accepted, player.unit())
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user