Debug ChunkFactory
This commit is contained in:
parent
f93a5ec236
commit
c58045215d
11
source/app.d
11
source/app.d
@ -6,6 +6,8 @@ import entity.mob.mob_definitions.zombie;
|
|||||||
import entity.mob.mob_factory;
|
import entity.mob.mob_factory;
|
||||||
import entity.player.player;
|
import entity.player.player;
|
||||||
import entity.player.player_factory;
|
import entity.player.player_factory;
|
||||||
|
import world.chunk;
|
||||||
|
import world.chunk_factory;
|
||||||
|
|
||||||
import world.chunk;
|
import world.chunk;
|
||||||
|
|
||||||
@ -18,11 +20,18 @@ void main() {
|
|||||||
PlayerFactory.spawnPlayer(new Player("singleplayer"));
|
PlayerFactory.spawnPlayer(new Player("singleplayer"));
|
||||||
PlayerFactory.debugFactory();
|
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++ ) {
|
for ( int i = 0; i < 32_768; i++ ) {
|
||||||
chunky.runADebug(i);
|
chunky.runADebug(i);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user