updated implementation with proper OO design, provided link to video

This commit is contained in:
Taciano Dreckmann Perez
2022-03-24 18:58:47 +01:00
parent 06c8d2be69
commit a64aa983fe
6 changed files with 1238 additions and 1024 deletions

View File

@@ -0,0 +1,9 @@
/**
* 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);
}