summaryrefslogtreecommitdiff
path: root/2019-worms/src/game/powerup.rs
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2022-04-19 21:29:18 +0200
committerJustin Wernick <justin@worthe-it.co.za>2022-04-19 21:29:18 +0200
commit4d1edc899a86791ec57c0d3b2b3d7427f138463f (patch)
treeed1c7031c54d8f3a3897081c4a1040ace9d8f4ae /2019-worms/src/game/powerup.rs
parent01a849c6b26afd076989f645c6153d8ce1422281 (diff)
parent3f5492b2bb67326be43cd7c5ba02ccf0ba1ae0e3 (diff)
Merge branch 'worms-main'
Diffstat (limited to '2019-worms/src/game/powerup.rs')
-rw-r--r--2019-worms/src/game/powerup.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/2019-worms/src/game/powerup.rs b/2019-worms/src/game/powerup.rs
new file mode 100644
index 0000000..47e73a1
--- /dev/null
+++ b/2019-worms/src/game/powerup.rs
@@ -0,0 +1,6 @@
+use crate::geometry::*;
+
+#[derive(Debug, PartialEq, Eq, Clone, Copy)]
+pub struct Powerup {
+ pub position: Point2d,
+}