@Override
	public void init(boolean isServer) {
		if(!isServer) {
			PlayerEntity.loadResources();
			PillarEntity.loadResources();
		}

		tiles = new Tile[8][6];
		for(int x = 0; x < tiles.length; x++)
			for(int y = 0; y < tiles[x].length; y++)
				tiles[x][y] = new Tile(this, x, y);

		entities = new ArrayList<Entity>();
		entities.add(new PillarEntity(this, tiles[1][1]));
		entities.add(new PillarEntity(this, tiles[2][1]));
		entities.add(new PillarEntity(this, tiles[3][1]));
		player = new PlayerEntity(this, tiles[tiles.length/2][tiles[0].length/2]);
		entities.add(player);
		perspective = new EntityPerspective(this, player);
	}