You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
195 B

  1. #![allow(dead_code)]
  2. use specs::Entity;
  3. pub struct PlayerState {
  4. pub player_id: Entity,
  5. }
  6. impl PlayerState {
  7. pub fn new(player_id: Entity) -> Self {
  8. Self { player_id }
  9. }
  10. }