Files
basic-computer-games/84_Super_Star_Trek/java/GameCallback.java
T

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