You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
570 B
34 lines
570 B
package mightypork.gamecore.core.modules;
|
|
|
|
|
|
import mightypork.gamecore.input.InputSystem;
|
|
import mightypork.gamecore.resources.audio.SoundSystem;
|
|
import mightypork.utils.eventbus.BusAccess;
|
|
|
|
|
|
/**
|
|
* App interface visible to subsystems
|
|
*
|
|
* @author Ondřej Hruška (MightyPork)
|
|
*/
|
|
public interface AppAccess extends BusAccess {
|
|
|
|
/**
|
|
* @return sound system
|
|
*/
|
|
abstract SoundSystem getSoundSystem();
|
|
|
|
|
|
/**
|
|
* @return input system
|
|
*/
|
|
abstract InputSystem getInput();
|
|
|
|
|
|
/**
|
|
* Quit to OS<br>
|
|
* Destroy app & exit VM
|
|
*/
|
|
abstract void shutdown();
|
|
|
|
}
|
|
|