#![allow(dead_code)] use specs::Entity; pub struct PlayerState { pub player_id: Entity, } impl PlayerState { pub fn new(player_id: Entity) -> Self { Self { player_id } } }