All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.czyzby.autumn.mvc.component.ui.action.ActionProvider Maven / Gradle / Ivy

Go to download

MVC framework based on LibGDX using Autumn for components management and LML as view templates.

There is a newer version: 1.9.1.9.6
Show newest version
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