Example #1
0
 public PlayerData(Player player)
 {
     Entity = new EntityData(player);
     ID     = player.ID;
     flags  = new PlayerFlags();
     flags.directionRight = player.DirectionRight;
 }
Example #2
0
 public PlayerData(EntityData entityData, int id, PlayerFlags flags)
 {
     this.Entity = entityData;
     this.flags  = flags;
     this.ID     = id;
 }