public void StoreDecision(Guid decision) { var d = new SerializableDecision(this.next_id(), decision); logger.InfoFormat("A game frame choice decision was stored for character {0}. The chosen frame was {1}", this.ID, decision); this.decisions.Add(d); }
public static IDecision InterfaceFromSerializedInstance(Serialization.SerializableDecision instance) { return(FromSerializedInstance(instance)); }
public static Decision FromSerializedInstance(Serialization.SerializableDecision instance) { return(new Decision(instance.DecisionHistoryOrder, instance.ChosenFrame)); }