From 20fd6cec7ea518a98a4f74f746293eb77c170267 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Thu, 14 Mar 2024 16:10:11 +0100 Subject: feat: shooting --- src/shared/imperative.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/shared/imperative.rs') 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), } -- cgit v1.2.3