From 8a9a8d792e509986ff6bd47f49bcbdce1f347046 Mon Sep 17 00:00:00 2001 From: Squibid Date: Mon, 3 Jun 2024 20:08:54 -0400 Subject: implement game engine --- src/main/java/los/numeros/gameEngine/Module.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/main/java/los/numeros/gameEngine/Module.java (limited to 'src/main/java/los/numeros/gameEngine/Module.java') diff --git a/src/main/java/los/numeros/gameEngine/Module.java b/src/main/java/los/numeros/gameEngine/Module.java new file mode 100644 index 0000000..0406615 --- /dev/null +++ b/src/main/java/los/numeros/gameEngine/Module.java @@ -0,0 +1,13 @@ +package los.numeros.gameEngine; + +public interface Module { + /** + * code to run when the game is started + */ + public int init(); + + /** + * code to run when the game has ended + */ + public int end(); +} -- cgit v1.2.1