Added elevation tool

This commit is contained in:
Anuken
2018-06-12 10:58:07 -04:00
parent d7120af5cb
commit 4b093812bc
14 changed files with 728 additions and 761 deletions

View File

@@ -12,7 +12,7 @@ import io.anuke.mindustry.world.Tile;
import io.anuke.mindustry.world.blocks.*;
public class Blocks extends BlockList implements ContentList{
public static Block air, spawn, blockpart, space, metalfloor, deepwater, water, lava, oil, stone, blackstone, iron, lead, coal, titanium, thorium, dirt, sand, ice, snow, grass, sandblock, snowblock, stoneblock, blackstoneblock, grassblock, mossblock, shrub, rock, icerock, blackrock, dirtblock;
public static Block air, spawn, blockpart, space, metalfloor, deepwater, water, lava, oil, stone, blackstone, iron, lead, coal, titanium, thorium, dirt, sand, ice, snow, grass, shrub, rock, icerock, blackrock;
@Override
public void load() {
@@ -138,35 +138,6 @@ public class Blocks extends BlockList implements ContentList{
grass = new Floor("grass");
sandblock = new StaticBlock("sandblock") {{
solid = true;
variants = 3;
}};
snowblock = new StaticBlock("snowblock") {{
solid = true;
variants = 3;
}};
stoneblock = new StaticBlock("stoneblock") {{
solid = true;
variants = 3;
}};
blackstoneblock = new StaticBlock("blackstoneblock") {{
solid = true;
variants = 3;
}};
grassblock = new StaticBlock("grassblock") {{
solid = true;
variants = 2;
}};
mossblock = new StaticBlock("mossblock") {{
solid = true;
}};
shrub = new Rock("shrub");
rock = new Rock("rock") {{
@@ -183,9 +154,5 @@ public class Blocks extends BlockList implements ContentList{
variants = 1;
varyShadow = true;
}};
dirtblock = new StaticBlock("dirtblock") {{
solid = true;
}};
}
}