aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
};