aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol.rs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-24 06:26:22 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-24 06:27:47 +0100
commit1751960338fc7a08fec438a9b53c78118a35063a (patch)
tree101d8a45a35723ba6c4c9775b1ebcb494c3be7b6 /src/protocol.rs
parentfff6538cde0bb83c9f0166b60f7f2ff5a5b15f8d (diff)
feat: add tower range/ target indicator
Diffstat (limited to 'src/protocol.rs')
-rw-r--r--src/protocol.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/protocol.rs b/src/protocol.rs
index c04fed6..87fa9c0 100644
--- a/src/protocol.rs
+++ b/src/protocol.rs
@@ -11,6 +11,7 @@ use crate::shared::player::*;
use crate::shared::projectile::*;
use crate::shared::shape::*;
use crate::shared::stats::*;
+use crate::shared::tower::*;
use bevy::prelude::*;
use lightyear::prelude::*;
use serde::Deserialize;
@@ -53,6 +54,8 @@ pub enum Components {
AreaOfEffect(AreaOfEffect),
Buffs(Buffs),
Shape(Shape),
+ Tower(Tower),
+ Faction(Faction),
}
#[derive(Channel)]