Interface DynamicMenuSpriteScreen<E extends Enum<E>>

Type Parameters:
E - - Enum of levels/options
All Superinterfaces:
com.badlogic.gdx.Screen

public interface DynamicMenuSpriteScreen<E extends Enum<E>> extends com.badlogic.gdx.Screen
Implements functions required for dynamic menu sprite operation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onMenuEnter(E menuId)
    Runs on screen activation.
    void
    Ran at game launch to initialise screen in MapSpriteService

    Methods inherited from interface com.badlogic.gdx.Screen

    dispose, hide, pause, render, resize, resume, show
  • Method Details

    • register

      void register(GdxGame.ScreenType screenType)
      Ran at game launch to initialise screen in MapSpriteService
    • onMenuEnter

      void onMenuEnter(E menuId)
      Runs on screen activation. Used to determine what version of the screen has been chosen.
      Parameters:
      menuId - - the ID of the menu which has been selected.