示例#1
0
    public void MakeTurn()
    {
        //calculate decision
        ContextBase context = GetContext();

        DecisionMakerRef.MakeDecisionsList(context);
        Decision decision = DecisionMakerRef.Select();

        //perform decision's action
        decision.QualifierRef.Action.Execute();
    }