From 35972a6fd9dd9caa2973720e421305122ea48f2e Mon Sep 17 00:00:00 2001 From: MEEPofFaith <54301439+MEEPofFaith@users.noreply.github.com> Date: Sat, 8 Feb 2025 21:44:33 -0800 Subject: [PATCH] oops --- .../mindustry/entities/comp/MinerComp.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/core/src/mindustry/entities/comp/MinerComp.java b/core/src/mindustry/entities/comp/MinerComp.java index 3a8fdee884..4e9c28bc3d 100644 --- a/core/src/mindustry/entities/comp/MinerComp.java +++ b/core/src/mindustry/entities/comp/MinerComp.java @@ -123,26 +123,4 @@ abstract class MinerComp implements Itemsc, Posc, Teamc, Rotc, Drawc{ } } } - - public void drawMiningBeam(float px, float py){ - if(!mining()) return; - float swingScl = 12f, swingMag = tilesize / 8f; - float flashScl = 0.3f; - - 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.flyingUnit + 0.1f); - - Draw.color(Color.lightGray, Color.white, 1f - flashScl + Mathf.absin(Time.time, 0.5f, flashScl)); - - Drawf.laser(Core.atlas.find("minelaser"), Core.atlas.find("minelaser-end"), px, py, ex, ey, 0.75f); - - if(isLocal()){ - Lines.stroke(1f, Pal.accent); - Lines.poly(mineTile.worldx(), mineTile.worldy(), 4, tilesize / 2f * Mathf.sqrt2, Time.time); - } - - Draw.color(); - } }