aboutsummaryrefslogtreecommitdiff
path: root/src/muntik.odin
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-03-06 17:28:53 -0500
committeriamcheeseman <[email protected]>2026-03-06 17:28:53 -0500
commit3c7c93a2d844448ac9e8234418a786206a851596 (patch)
treed55660dbad71e2c247421a097e9a42cf307454d7 /src/muntik.odin
parentf91cea9dd4de39f75b14aee61c96c8cc929059e3 (diff)
scatter the muntik about the world
Diffstat (limited to 'src/muntik.odin')
-rw-r--r--src/muntik.odin4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/muntik.odin b/src/muntik.odin
index 1464d91..4644829 100644
--- a/src/muntik.odin
+++ b/src/muntik.odin
@@ -94,3 +94,7 @@ update_muntik :: proc(e: ^Enemy, dt: f32) {
set_sprite_active_tag(&m.sprite, "walk")
}
}
+
+object_spawner_muntik :: proc(obj: Object_Resource) {
+ make_muntik(obj.pos, 1)
+}