aboutsummaryrefslogtreecommitdiff
path: root/src/test/ScriptTest.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-18 14:20:59 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-18 14:20:59 +0100
commitcff284cedde9f0cc133ff2855557299ce1d8083c (patch)
tree7aafa1892cca039b5e59db8a748d91a8857262da /src/test/ScriptTest.h
parent8dfdb5a588614db80fa8f41ccf883c1766fe56ff (diff)
add fixed/frame update functions to script
Diffstat (limited to 'src/test/ScriptTest.h')
-rw-r--r--src/test/ScriptTest.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/ScriptTest.h b/src/test/ScriptTest.h
index f3dbda4..8637df0 100644
--- a/src/test/ScriptTest.h
+++ b/src/test/ScriptTest.h
@@ -29,7 +29,8 @@ public:
public:
MOCK_METHOD(void, init, (), (override));
- MOCK_METHOD(void, update, (crepe::duration_t), (override));
+ MOCK_METHOD(void, fixed_update, (crepe::duration_t), (override));
+ MOCK_METHOD(void, frame_update, (crepe::duration_t), (override));
};
crepe::OptionalRef<crepe::BehaviorScript> behaviorscript;