Changes to break/place system

This commit is contained in:
Anuken
2017-12-16 10:47:06 -05:00
parent 97d1542ff4
commit 93f58bb458
15 changed files with 230 additions and 233 deletions

View File

@@ -8,9 +8,7 @@ import com.badlogic.gdx.utils.Align;
import io.anuke.mindustry.core.GameState;
import io.anuke.mindustry.core.GameState.State;
import io.anuke.mindustry.input.PlaceMode;
import io.anuke.ucore.scene.builders.button;
import io.anuke.ucore.scene.builders.imagebutton;
import io.anuke.ucore.scene.builders.table;
import io.anuke.ucore.scene.builders.*;
import io.anuke.ucore.scene.event.Touchable;
import io.anuke.ucore.scene.ui.ButtonGroup;
import io.anuke.ucore.scene.ui.ImageButton;
@@ -44,6 +42,8 @@ public class PlacementFragment implements Fragment{
touchable(Touchable.enabled);
aleft();
new label("place mode");
row();
new table("pane"){{
get().pad(5);
@@ -90,6 +90,9 @@ public class PlacementFragment implements Fragment{
abottom();
aleft();
new label("break mode");
row();
new table("pane"){{
get().pad(5);
touchable(Touchable.enabled);