protected void generateWorld() {
        if(!Game.Online) {
            for (int y = 0; y < height; y++) {
                for (int x = 0; x < width; x++) {
                    int tile = r.nextInt(Tile.dirtId);
                    tiles[y][x] = Tile.createTile(tile, x, y, this);
                }
            }
        }
    }