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