aboutsummaryrefslogtreecommitdiff
path: root/game/enemy/EnemyScript.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-06 15:27:38 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-06 15:27:38 +0100
commite9cba1baee564d835b8a3473a9cb146825f56732 (patch)
tree855e2548fb11408d60fd3c6523e9be1f3d531621 /game/enemy/EnemyScript.h
parent36942c357663a033582a1dfb39af0d3ab15afd0c (diff)
enemy pooling
Diffstat (limited to 'game/enemy/EnemyScript.h')
-rw-r--r--game/enemy/EnemyScript.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/game/enemy/EnemyScript.h b/game/enemy/EnemyScript.h
new file mode 100644
index 0000000..0ecf050
--- /dev/null
+++ b/game/enemy/EnemyScript.h
@@ -0,0 +1,7 @@
+#pragma once
+
+class EnemyScript : public crepe::Script {
+ void init() override;
+ void update() override;
+ void onCollide(const CollisionEvent & collisionData);
+};