From 231d33954dab62e2452eb88e509d2741a8437498 Mon Sep 17 00:00:00 2001 From: Max-001 Date: Wed, 8 Jan 2025 08:57:19 +0100 Subject: Init --- game/workers/CollisionScript.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 game/workers/CollisionScript.h (limited to 'game/workers/CollisionScript.h') diff --git a/game/workers/CollisionScript.h b/game/workers/CollisionScript.h new file mode 100644 index 0000000..70c5fe1 --- /dev/null +++ b/game/workers/CollisionScript.h @@ -0,0 +1,12 @@ +#pragma once + +#include +#include + +class CollisionScript : public crepe::Script { +public: + void init(); + +private: + bool on_collision(const crepe::CollisionEvent & ev); +}; -- cgit v1.2.3