@Override
	public void draw() {
		int[][] tiles;	//Filled with whatever set of tiles the chunk is currently represented by - A or B
		if (tileState){
			tiles = tilesA;
		} else {
			tiles = tilesB;
		}
		
		if (properties.containsKey("floorTex")){
			stoneSprite = new TextureSprite(0, 0, WALLDIMENSION, WALLDIMENSION, 0, "/data/textures/" + properties.get("floorTex") + ".png");
		}
		
		for (int x = 0; x < CHUNKDIMENSION; x++){
			for (int y = 0; y < CHUNKDIMENSION; y++){
				int tile = tiles[x][y];
				int x1 = this.x + WALLDIMENSION * x;
				int y1 = this.y + WALLDIMENSION * y;
				/*
				 * Move all buffered sprites
				 */
				wallSprite.move(x1, y1);
				stoneSprite.move(x1, y1);
				bloodSprite.move(x1, y1);
				
				if (tile == WALL){
//					new Wall(x1, y1, WALLDIMENSION, WALLDIMENSION).draw();
					wallSprite.draw();
				} else if (tile == STONE){
					stoneSprite.draw();
//					new RectSprite(x1, y1, WALLDIMENSION, WALLDIMENSION, 0, Color.gray).draw();
				} else if (tile == BLOOD){
					bloodSprite.draw();
				}
			}
		}
	}