From 32bc1b99866518bda03409dd8c81a2756656f44f Mon Sep 17 00:00:00 2001 From: Squibid Date: Mon, 3 Jun 2024 20:33:38 -0400 Subject: update game engine and example game --- 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..53b8e5e --- /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