Files
basic-computer-games/84_Super_Star_Trek/java/GameCallback.java
2022-03-24 18:58:47 +01:00

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);
}