Example usage for com.badlogic.gdx ApplicationListener dispose

List of usage examples for com.badlogic.gdx ApplicationListener dispose

Introduction

In this page you can find the example usage for com.badlogic.gdx ApplicationListener dispose.

Prototype

public void dispose();

Source Link

Document

Called when the Application is destroyed.

Usage

From source file:es.eucm.ead.engine.EAdEngine.java

License:Open Source License

@Override
public void dispose() {
    game.dispose();/*from  www . j a  v  a  2  s  . c o m*/
    stage.dispose();
    for (ApplicationListener a : applicationListeners) {
        a.dispose();
    }
}