mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-23 07:29:02 -08:00
10 lines
298 B
Java
10 lines
298 B
Java
/**
|
|
* Interface for decoupling inversion of control from GalaxyMap and Enterprise towards the game class.
|
|
*/
|
|
public interface GameCallback {
|
|
void enterNewQuadrant();
|
|
void incrementStardate(double increment);
|
|
void endGameSuccess();
|
|
void endGameFail(boolean enterpriseDestroyed);
|
|
}
|