com.github.czyzby.autumn.mvc.component.ui.action.ApplicationResumeAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gdx-autumn-mvc Show documentation
Show all versions of gdx-autumn-mvc Show documentation
MVC framework based on LibGDX using Autumn for components management and LML as view templates.
package com.github.czyzby.autumn.mvc.component.ui.action;
import com.badlogic.gdx.Gdx;
import com.github.czyzby.lml.parser.action.ActorConsumer;
/** LML view action. Forces application's resuming on invocation.
*
* @author MJ */
public class ApplicationResumeAction implements ActorConsumer {
/** Name of the action as it appears in the templates. Can be changed globally before the context loading. */
public static String ID = "app:resume";
@Override
public Void consume(final Object actor) {
Gdx.app.getApplicationListener().resume();
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy