mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-24 21:41:25 -08:00
Added prototype planet sector land system
This commit is contained in:
parent
01e7397df5
commit
27d6bf067e
17 changed files with 1902 additions and 1734 deletions
|
|
@ -340,7 +340,7 @@ public class ApplicationTests{
|
|||
world.beginMapLoad();
|
||||
for(int x = 0; x < tiles.width(); x++){
|
||||
for(int y = 0; y < tiles.height(); y++){
|
||||
tiles.set(x, y, new Tile(x, y, Blocks.stone.id, (byte)0, (byte)0));
|
||||
tiles.set(x, y, new Tile(x, y, Blocks.stone, Blocks.air, Blocks.air));
|
||||
}
|
||||
}
|
||||
int i = 0;
|
||||
|
|
@ -385,7 +385,7 @@ public class ApplicationTests{
|
|||
|
||||
void depositTest(Block block, Item item){
|
||||
BaseUnit unit = UnitTypes.spirit.create(Team.derelict);
|
||||
Tile tile = new Tile(0, 0, Blocks.air.id, (byte)0, block.id);
|
||||
Tile tile = new Tile(0, 0, Blocks.air, Blocks.air, block);
|
||||
int capacity = tile.block().itemCapacity;
|
||||
|
||||
assertNotNull(tile.entity, "Tile should have an entity, but does not: " + tile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue