package TerrariaClone;

public class AWholeNewWorld {

    static int size = 420; // blaze it
    static int WORLDHEIGHT = 420; // every day
    static int WORLDWIDTH = 420; // ok the joke is old now.

    Chunk[][] temporarySaveFile;
    Chunk[][] chunkMatrix;

    Integer[][][] blocks;
    Byte[][][] blockds;
    Byte[][] blockdns;
    Byte[][] blockbgs;
    Byte[][] blockts;
    Float[][] lights;
    Float[][][] power;
    Boolean [][] lsources;
    Byte[][] zqn;
    Byte[][][] pzqn;
    Boolean[][][] arbprd;
    Boolean [][] wcnct;
    Boolean [][] drawn;
    Boolean [][] rdrawn;
    Boolean [][] ldrawn;

    static int WIDTH = 10;
    static int BLOCKSIZE = 10;

    Player player = new Player(WIDTH*0.5*BLOCKSIZE, 45);

    Inventory inventory = new Inventory();
    
    public AWholeNewWorld(int size, int WORLDHEIGHT, int WORLDWIDTH, int WIDTH, int BLOCKSIZE)
    {
        temporarySaveFile = new Chunk[WORLDHEIGHT][WORLDWIDTH];
        chunkMatrix = new Chunk[2][2];

        blocks = new Integer[3][size][size];
        blockds = new Byte[3][size][size];
        blockdns = new Byte[size][size];
        blockbgs = new Byte[size][size];
        blockts = new Byte[size][size];
        lights = new Float[size][size];
        power = new Float[3][size][size];
        lsources = new Boolean[size][size];
        zqn = new Byte[size][size];
        pzqn = new Byte[3][size][size];
        arbprd = new Boolean[3][size][size];
        wcnct = new Boolean[size][size];
        drawn = new Boolean[size][size];
        rdrawn = new Boolean[size][size];
        ldrawn = new Boolean[size][size];


        Player player = new Player(WIDTH*0.5*BLOCKSIZE, 45);

        Inventory inventory = new Inventory();
    }
}
