diff --git a/source/app.d b/source/app.d index b7a0e9e..1fefbae 100644 --- a/source/app.d +++ b/source/app.d @@ -6,6 +6,8 @@ import entity.mob.mob_definitions.zombie; import entity.mob.mob_factory; import entity.player.player; import entity.player.player_factory; +import world.chunk; +import world.chunk_factory; import world.chunk; @@ -18,11 +20,18 @@ void main() { PlayerFactory.spawnPlayer(new Player("singleplayer")); PlayerFactory.debugFactory(); - Chunk chunky = new Chunk("default"); + ChunkFactory.newChunkGeneration(0,0); + ChunkFactory.processStack(); + ChunkFactory.debugFactoryContainer(); + + //Chunk chunky = new Chunk("default", Position2I(0,0)); + + /* for ( int i = 0; i < 32_768; i++ ) { chunky.runADebug(i); } + */