Package com.csse3200.game.screens
Interface DynamicMenuSpriteScreen<E extends Enum<E>>
- Type Parameters:
E
- - Enum of levels/options
- All Superinterfaces:
com.badlogic.gdx.Screen
Implements functions required for dynamic menu sprite operation.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onMenuEnter
(E menuId) Runs on screen activation.void
register
(GdxGame.ScreenType screenType) Ran at game launch to initialise screen in MapSpriteServiceMethods inherited from interface com.badlogic.gdx.Screen
dispose, hide, pause, render, resize, resume, show
-
Method Details
-
register
Ran at game launch to initialise screen in MapSpriteService -
onMenuEnter
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.
-