aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol.rs')
-rw-r--r--src/protocol.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/protocol.rs b/src/protocol.rs
index 86d1fa0..7672489 100644
--- a/src/protocol.rs
+++ b/src/protocol.rs
@@ -1,4 +1,6 @@
+use crate::shared::cooldown::*;
use crate::shared::imperative::*;
+use crate::shared::projectile::*;
use crate::shared::*;
use bevy::prelude::*;
use lightyear::prelude::*;
@@ -26,6 +28,9 @@ pub enum Components {
PlayerId(PlayerId),
PlayerPosition(PlayerPosition),
PlayerColor(PlayerColor),
+ Projectile(Projectile),
+ ProjectilePosition(ProjectilePosition),
+ Cooldown(Cooldown),
}
#[derive(Channel)]