aboutsummaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
authorMax-001 <maxsmits21@kpnmail.nl>2024-12-24 12:17:32 +0100
committerMax-001 <maxsmits21@kpnmail.nl>2024-12-24 12:17:32 +0100
commit9cdc0a89d9b6f504eeef888f845751977b1bc769 (patch)
treebce7d4d716e8e63f601806d7a196359928eb8efd /game
parenta0a3e7e2d12d3acb7bf4073cb5a10c08047cd08e (diff)
Added init
Diffstat (limited to 'game')
-rw-r--r--game/EndGameScript.cpp5
-rw-r--r--game/EndGameScript.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/game/EndGameScript.cpp b/game/EndGameScript.cpp
index 4d7b5fd..6b9c47f 100644
--- a/game/EndGameScript.cpp
+++ b/game/EndGameScript.cpp
@@ -1,5 +1,10 @@
#include "EndGameScript.h"
+void EndGameScript::init() {
+ logf("EndGameScript::init");
+ // ...
+}
+
void EndGameScript::fixed_update(crepe::duration_t dt) {
logf("EndGameScript::fixed_update");
// ...
diff --git a/game/EndGameScript.h b/game/EndGameScript.h
index b63ac9d..3b1970a 100644
--- a/game/EndGameScript.h
+++ b/game/EndGameScript.h
@@ -4,5 +4,6 @@
class EndGameScript : public crepe::Script {
public:
+ void init();
void fixed_update(crepe::duration_t dt);
};