More plugin customization / Renamed Rectangle
This commit is contained in:
@@ -15,8 +15,8 @@ public class DeflectorWall extends Wall{
|
||||
public static final float hitTime = 10f;
|
||||
|
||||
protected float maxDamageDeflect = 10f;
|
||||
protected Rectangle rect = new Rectangle();
|
||||
protected Rectangle rect2 = new Rectangle();
|
||||
protected Rect rect = new Rect();
|
||||
protected Rect rect2 = new Rect();
|
||||
|
||||
public DeflectorWall(String name){
|
||||
super(name);
|
||||
|
||||
@@ -18,7 +18,7 @@ import java.io.*;
|
||||
import static mindustry.Vars.*;
|
||||
|
||||
public class Door extends Wall{
|
||||
protected final static Rectangle rect = new Rectangle();
|
||||
protected final static Rect rect = new Rect();
|
||||
|
||||
public final int timerToggle = timers++;
|
||||
public Effect openfx = Fx.dooropen;
|
||||
|
||||
@@ -6,7 +6,7 @@ import arc.graphics.Color;
|
||||
import arc.graphics.g2d.*;
|
||||
import arc.math.Angles;
|
||||
import arc.math.Mathf;
|
||||
import arc.math.geom.Rectangle;
|
||||
import arc.math.geom.Rect;
|
||||
import arc.util.Time;
|
||||
import mindustry.entities.Units;
|
||||
import mindustry.entities.type.TileEntity;
|
||||
@@ -19,7 +19,7 @@ import mindustry.world.meta.*;
|
||||
import static mindustry.Vars.tilesize;
|
||||
|
||||
public class RepairPoint extends Block{
|
||||
private static Rectangle rect = new Rectangle();
|
||||
private static Rect rect = new Rect();
|
||||
|
||||
public int timerTarget = timers++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user