示例#1
0
        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);
        }
示例#2
0
 public static IDecision InterfaceFromSerializedInstance(Serialization.SerializableDecision instance)
 {
     return(FromSerializedInstance(instance));
 }
示例#3
0
 public static Decision FromSerializedInstance(Serialization.SerializableDecision instance)
 {
     return(new Decision(instance.DecisionHistoryOrder, instance.ChosenFrame));
 }