mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 14:01:03 -08:00
Refactoring of tile storage, filters
This commit is contained in:
parent
8798fa101a
commit
edfe58cb38
37 changed files with 543 additions and 412 deletions
|
|
@ -111,7 +111,7 @@ public class ApplicationTests{
|
|||
|
||||
@Test
|
||||
void createMap(){
|
||||
Tile[][] tiles = world.createTiles(8, 8);
|
||||
Tile[][] tiles = world.resize(8, 8);
|
||||
|
||||
world.beginMapLoad();
|
||||
for(int x = 0; x < tiles.length; x++){
|
||||
|
|
@ -329,7 +329,7 @@ public class ApplicationTests{
|
|||
|
||||
@Test
|
||||
void allBlockTest(){
|
||||
Tile[][] tiles = world.createTiles(256*2 + 20, 10);
|
||||
Tile[][] tiles = world.resize(256*2 + 20, 10);
|
||||
|
||||
world.beginMapLoad();
|
||||
for(int x = 0; x < tiles.length; x++){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue