Deprecated DoubleOverlayFloor
This commit is contained in:
@@ -442,7 +442,7 @@ public class Blocks implements ContentList{
|
|||||||
Seq.with(metalFloor, metalFloorDamaged, metalFloor2, metalFloor3, metalFloor4, metalFloor5, darkPanel1, darkPanel2, darkPanel3, darkPanel4, darkPanel5, darkPanel6)
|
Seq.with(metalFloor, metalFloorDamaged, metalFloor2, metalFloor3, metalFloor4, metalFloor5, darkPanel1, darkPanel2, darkPanel3, darkPanel4, darkPanel5, darkPanel6)
|
||||||
.each(b -> b.asFloor().wall = darkMetal);
|
.each(b -> b.asFloor().wall = darkMetal);
|
||||||
|
|
||||||
pebbles = new DoubleOverlayFloor("pebbles");
|
pebbles = new OverlayFloor("pebbles");
|
||||||
|
|
||||||
tendrils = new OverlayFloor("tendrils");
|
tendrils = new OverlayFloor("tendrils");
|
||||||
|
|
||||||
|
|||||||
@@ -1,20 +1,10 @@
|
|||||||
package mindustry.world.blocks.environment;
|
package mindustry.world.blocks.environment;
|
||||||
|
|
||||||
import arc.graphics.g2d.*;
|
/** @deprecated pointless, just use your own sprite instead */
|
||||||
import arc.math.*;
|
@Deprecated
|
||||||
import mindustry.world.*;
|
|
||||||
|
|
||||||
public class DoubleOverlayFloor extends OverlayFloor{
|
public class DoubleOverlayFloor extends OverlayFloor{
|
||||||
|
|
||||||
public DoubleOverlayFloor(String name){
|
public DoubleOverlayFloor(String name){
|
||||||
super(name);
|
super(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void drawBase(Tile tile){
|
|
||||||
Draw.colorl(0.4f);
|
|
||||||
Draw.rect(variantRegions[Mathf.randomSeed(tile.pos(), 0, Math.max(0, variantRegions.length - 1))], tile.worldx(), tile.worldy() - 0.75f);
|
|
||||||
Draw.color();
|
|
||||||
Draw.rect(variantRegions[Mathf.randomSeed(tile.pos(), 0, Math.max(0, variantRegions.length - 1))], tile.worldx(), tile.worldy());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user