Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
- #![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 }
- }
- }
|