您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

14 行
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. }