summaryrefslogtreecommitdiff
path: root/src/room.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/room.rs')
-rw-r--r--src/room.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/room.rs b/src/room.rs
index ff7b75f..a4046b2 100644
--- a/src/room.rs
+++ b/src/room.rs
@@ -32,7 +32,8 @@ use crate::{
Create,
Take,
Migrate,
- Use
+ Use,
+ Attacking
},
components::{
Position,
@@ -80,6 +81,7 @@ impl <'a, 'b>Room<'a, 'b> {
.with(Take, "take", &["controlinput"])
.with(Use, "use", &["controlinput"])
.with(Move, "move", &["registernew", "controlinput"])
+ .with(Attacking, "attacking", &["use"])
.with(View::default(), "view", &["move"])
.with(Migrate, "migrate", &["view"])
.with(Create, "create", &["view", "controlinput"])