cleaner query
This commit is contained in:
@@ -51,21 +51,10 @@ pub enum ServerChannel {
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Component)]
|
||||
pub enum ServerMessages {
|
||||
PlayerCreate {
|
||||
entity: Entity,
|
||||
id: u64,
|
||||
},
|
||||
PlayerRemove {
|
||||
id: u64,
|
||||
},
|
||||
SpawnProjectile {
|
||||
entity: Entity,
|
||||
origin: Vec2,
|
||||
direction: Vec2,
|
||||
},
|
||||
DespawnProjectile {
|
||||
entity: Entity,
|
||||
},
|
||||
PlayerCreate { entity: Entity, id: u64 },
|
||||
PlayerRemove { id: u64 },
|
||||
SpawnProjectile { entity: Entity },
|
||||
DespawnProjectile { entity: Entity },
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Default)]
|
||||
|
Reference in New Issue
Block a user