com.github.czyzby.autumn.mvc.component.ui.action.ActionProvider 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.scenes.scene2d.Action;
import com.github.czyzby.autumn.mvc.component.ui.controller.ViewController;
/** A simple supplier interface that creates an action designed for specific view.
*
* @author MJ */
public interface ActionProvider {
/** @param forController request an action instance.
* @param connectedView next, previous or otherwise connected screen. Allows to determine which screen will be next,
* for example.
* @return a new action for the selected controller. */
Action provideAction(ViewController forController, ViewController connectedView);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy