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.
40 lines
604 B
40 lines
604 B
package mightypork.gamecore;
|
|
|
|
|
|
import mightypork.gamecore.input.InputSystem;
|
|
import mightypork.gamecore.render.DisplaySystem;
|
|
import mightypork.gamecore.resources.sounds.SoundSystem;
|
|
|
|
|
|
/**
|
|
* App interface visible to subsystems
|
|
*
|
|
* @author MightyPork
|
|
*/
|
|
public interface AppAccess extends BusAccess {
|
|
|
|
/**
|
|
* @return sound system
|
|
*/
|
|
abstract SoundSystem snd();
|
|
|
|
|
|
/**
|
|
* @return input system
|
|
*/
|
|
abstract InputSystem input();
|
|
|
|
|
|
/**
|
|
* @return display system
|
|
*/
|
|
abstract DisplaySystem disp();
|
|
|
|
|
|
/**
|
|
* Quit to OS<br>
|
|
* Destroy app & exit VM
|
|
*/
|
|
abstract void shutdown();
|
|
|
|
}
|
|
|