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

com.github.czyzby.autumn.mvc.config.AutumnMessage 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.config;

import com.badlogic.gdx.assets.AssetLoaderParameters;

/** Contains all messages posted by Autumn MVC components using a
 * {@link com.github.czyzby.autumn.processor.event.MessageDispatcher}.
 *
 * @author MJ */
public class AutumnMessage {
    /** Can be extended to contain all application's messages, but should not be initiated. */
    protected AutumnMessage() {
    }

    /** Posted each time SOME assets scheduled with {@link com.github.czyzby.autumn.mvc.component.asset.AssetService}
     * are loaded. This is not posted if assets where loaded on demand with
     * {@link com.github.czyzby.autumn.mvc.component.asset.AssetService#finishLoading(String, Class)} or
     * {@link com.github.czyzby.autumn.mvc.component.asset.AssetService#finishLoading(String, Class, AssetLoaderParameters)}
     * methods. */
    public static final String ASSETS_LOADED = "AMVC_assetsLoaded";

    /** Posted when all application's {@link com.badlogic.gdx.scenes.scene2d.ui.Skin}s are fully loaded. */
    public static final String SKINS_LOADED = "AMVC_skinsLoaded";

    /** Posted when the game's window is resized. Posted AFTER
     * {@link com.github.czyzby.autumn.mvc.component.ui.InterfaceService} resizes current view (if any is present). */
    public static final String GAME_RESIZED = "AMVC_gameResized";

    /** Posted when the game is paused. Posted AFTER {@link com.github.czyzby.autumn.mvc.component.ui.InterfaceService}
     * pauses current view (if any is present). */
    public static final String GAME_PAUSED = "AMVC_gamePaused";

    /** Posted when the game is resumed. Posted AFTER {@link com.github.czyzby.autumn.mvc.component.ui.InterfaceService}
     * resumes current view (if any is present). */
    public static final String GAME_RESUMED = "AMVC_gameResumed";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy