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
11 years ago
|
package mightypork.rogue;
|
||
|
|
||
|
|
||
|
import mightypork.rogue.display.DisplaySystem;
|
||
|
import mightypork.rogue.input.InputSystem;
|
||
|
import mightypork.rogue.sounds.SoundSystem;
|
||
|
import mightypork.utils.patterns.subscription.MessageBus;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* App interface visible to subsystems
|
||
|
*
|
||
|
* @author MightyPork
|
||
|
*/
|
||
|
public interface AppAccess {
|
||
|
|
||
|
/**
|
||
|
* @return sound system
|
||
|
*/
|
||
|
abstract SoundSystem soundsys();
|
||
|
|
||
|
|
||
|
/**
|
||
|
* @return input system
|
||
|
*/
|
||
|
abstract InputSystem input();
|
||
|
|
||
|
|
||
|
/**
|
||
|
* @return display system
|
||
|
*/
|
||
|
abstract DisplaySystem disp();
|
||
|
|
||
|
|
||
|
/**
|
||
|
* @return event bus
|
||
|
*/
|
||
|
abstract MessageBus msgbus();
|
||
|
|
||
|
}
|