aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/imperative.rs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-14 16:10:11 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-15 02:50:59 +0100
commit20fd6cec7ea518a98a4f74f746293eb77c170267 (patch)
tree35fbe74d020f86cc1a1176340ecdba0433b0bbd6 /src/shared/imperative.rs
parent02750384df3142bda62a7ce0feb08d115aa6af29 (diff)
feat: shooting
Diffstat (limited to 'src/shared/imperative.rs')
-rw-r--r--src/shared/imperative.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/imperative.rs b/src/shared/imperative.rs
index 1370ddb..d9d727f 100644
--- a/src/shared/imperative.rs
+++ b/src/shared/imperative.rs
@@ -1,4 +1,4 @@
-use bevy::prelude::*;
+use crate::shared::*;
use serde::Deserialize;
use serde::Serialize;
@@ -6,4 +6,5 @@ use serde::Serialize;
pub enum Imperative {
Idle,
WalkTo(Vec2),
+ Attack(PlayerId),
}