Package dev.prozilla.pine.core
Interface ApplicationProvider
- All Superinterfaces:
ApplicationContext
- All Known Implementing Classes:
AnimationData,ApplicationManager,AudioEffectPlayer,AudioPlayer,BorderImage,ButtonNode,CameraControlData,CameraData,Component,DevConsoleData,DynamicText,Entity,FrameNode,GridGroup,ImageNode,LayoutNode,LayoutNodeStyle,MultiTileRenderer,Node,NodeRoot,NodeStyle,NodeStyleBase,ParticleBurstEmitter,ParticleEmitter,ParticleFlowEmitter,ParticleRenderer,RectRenderer,Scene,SpriteRenderer,TextInputNode,TextNode,TileRenderer,TooltipNode,Transform
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@ProviderOf(Application.class)
@FunctionalInterface
public interface ApplicationProvider
extends ApplicationContext
Provides access to the application and all its helper classes.
-
Method Summary
Modifier and TypeMethodDescriptiondefault AudioDevicedefault Configdefault InputgetInput()default LocalStoragedefault Loggerdefault ModManagerdefault Rendererdefault TimergetTimer()default Trackerdefault Windowstatic voidstopApplication(ApplicationProvider applicationProvider)
-
Method Details
-
getApplication
Application getApplication() -
getInput
- Specified by:
getInputin interfaceApplicationContext
-
getWindow
- Specified by:
getWindowin interfaceApplicationContext
-
getRenderer
- Specified by:
getRendererin interfaceApplicationContext
-
getTimer
- Specified by:
getTimerin interfaceApplicationContext
-
getTracker
- Specified by:
getTrackerin interfaceApplicationContext
-
getConfig
- Specified by:
getConfigin interfaceApplicationContext
-
getModManager
- Specified by:
getModManagerin interfaceApplicationContext
-
getLogger
- Specified by:
getLoggerin interfaceApplicationContext
-
getAudioDevice
- Specified by:
getAudioDevicein interfaceApplicationContext
-
getLocalStorage
- Specified by:
getLocalStoragein interfaceApplicationContext
-
stopApplication
-