Esempio n. 1
0
  public void render(SpriteBatch batch) {
    batch.begin();
    for (Platform p : platforms) p.render(batch);
    for (QBlock q : qBlocks) q.render(batch);
    for (Goomba g : goombas) g.render(batch);
    for (Pipe p : pipes) p.render(batch);

    mario.render(batch);
    batch.end();
  }
Esempio n. 2
0
 public void dispose() {
   mario.dispose();
   for (QBlock q : qBlocks) q.dispose();
   for (Goomba g : goombas) g.dispose();
   for (Pipe p : pipes) p.dispose();
 }