1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
use crate::protocol::Replicate;
use crate::shared::champion::*;
use crate::shared::cooldown::*;
use crate::shared::health::*;
use crate::shared::imperative::*;
use bevy::prelude::*;
use lightyear::prelude::*;
use serde::Deserialize;
use serde::Serialize;
use std::default::Default;
pub mod ability;
pub mod champion;
pub mod cooldown;
pub mod health;
pub mod health_event;
pub mod imperative;
pub mod player;
pub mod projectile;
pub const KEY: [u8; 32] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
];
pub const PLAYER_RADIUS: f32 = 10.;
pub const PROTOCOL_ID: u64 = 0;
pub const SERVER_PORT: u16 = 16384;
|