This commit is contained in:
Anuken 2020-10-26 16:54:47 -04:00
parent 909da9de3c
commit 8d7f96bf00
4 changed files with 8 additions and 3 deletions

View File

@ -54,6 +54,11 @@ public class MapGenerateDialog extends BaseDialog{
protected void changeBuild(Team team, Prov<Building> entityprov, int rotation){
}
@Override
public void setBlock(Block type, Team team, int rotation, Prov<Building> entityprov){
this.block = type;
}
};
/** @param applied whether or not to use the applied in-game mode. */

View File

@ -105,7 +105,7 @@ abstract class MinerComp implements Itemsc, Posc, Teamc, Rotc, Drawc, Unitc{
float ex = mineTile.worldx() + Mathf.sin(Time.time() + 48, swingScl, swingMag);
float ey = mineTile.worldy() + Mathf.sin(Time.time() + 48, swingScl + 2f, swingMag);
Draw.z(Layer.flyingUnitLow - 0.1f);
Draw.z(multimine ? Layer.flyingUnit + 0.1f : Layer.flyingUnitLow - 0.1f);
Draw.color(Color.lightGray, Color.white, 1f - flashScl + Mathf.absin(Time.time(), 0.5f, flashScl));

View File

@ -36,7 +36,7 @@ public class OverlayRenderer{
public void drawTop(){
if(!player.dead()){
if(!player.dead() && ui.hudfrag.shown){
if(Core.settings.getBool("playerindicators")){
for(Player player : Groups.player){
if(Vars.player != player && Vars.player.team() == player.team()){

View File

@ -92,7 +92,7 @@ public class HudFragment extends Fragment{
//paused table
parent.fill(t -> {
t.name = "paused";
t.top().visible(() -> state.isPaused()).touchable = Touchable.disabled;
t.top().visible(() -> state.isPaused() && shown).touchable = Touchable.disabled;
t.table(Styles.black5, top -> top.add("@paused").style(Styles.outlineLabel).pad(8f)).growX();
});