Beispiel #1
0
  private void LoadWorlds() throws IOException {
    World test = new World(FileHelper.LoadTileData("/assets/worlds/test", 4));

    worlds.add(test);

    currentWorld = 0;
  }
Beispiel #2
0
  public Game() throws IOException {
    worlds = new ArrayList<World>();

    test = FileHelper.GetFont("/assets/fonts/Ubuntu-R.ttf", 24f);

    LoadWorlds();
  }