diff options
Diffstat (limited to 'src/shared.rs')
-rw-r--r-- | src/shared.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared.rs b/src/shared.rs index 92b6a5b..16cea60 100644 --- a/src/shared.rs +++ b/src/shared.rs @@ -1,4 +1,5 @@ use crate::protocol::Replicate; +use crate::shared::champion::*; use crate::shared::cooldown::*; use crate::shared::health::*; use crate::shared::imperative::*; @@ -8,6 +9,7 @@ use serde::Deserialize; use serde::Serialize; use std::default::Default; +pub mod champion; pub mod cooldown; pub mod health; pub mod imperative; @@ -28,6 +30,7 @@ pub struct PlayerBundle { imperative: Imperative, cooldown: Cooldown, health: Health, + champion: Champion, } #[derive(Component, Message, Serialize, Deserialize, Clone, Copy, Debug, PartialEq)] @@ -49,6 +52,7 @@ impl PlayerBundle { imperative: Imperative::Idle, cooldown: Cooldown::default(), health: Health::default(), + champion: Champion::default(), } } } |