summaryrefslogtreecommitdiff
path: root/2019-worms/src/game/powerup.rs
diff options
context:
space:
mode:
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,
+}