public object Clone() { var clone = new PlayerInfo(Player) { Received = (EntitiesTaken)Received.Clone(), Dealt = (EntitiesDealt)Dealt.Clone(), }; clone.Dealt.SetPlayerInfo(clone); return(clone); }
public object Clone() { var clone = new PlayerInfo(Player) { Received = (EntitiesTaken)Received.Clone(), Dealt = (EntitiesDealt)Dealt.Clone(), AbnormalityTime = AbnormalityTime.ToDictionary(i => i.Key, i => (AbnormalityDuration)i.Value.Clone()) }; clone.Dealt.SetPlayerInfo(clone); return(clone); }