about summary refs log tree commit diff
path: root/src/types/collision.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/types/collision.rs')
-rw-r--r--src/types/collision.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/types/collision.rs b/src/types/collision.rs
new file mode 100644
index 000000000000..f41e30fc516a
--- /dev/null
+++ b/src/types/collision.rs
@@ -0,0 +1,8 @@
+/// Describes a kind of game collision
+pub enum Collision {
+    /// Stop moving - you can't move there!
+    Stop,
+
+    /// Moving into an entity at the given position indicates combat
+    Combat,
+}