public override bool Decide(StateController controller)
    {
        ThreatenedDecision td = new ThreatenedDecision();

        if (td.Decide(controller))
        {
            StrongerThanEnemyDecision STED = new StrongerThanEnemyDecision();
            return(STED.Decide(controller));
        }
        else
        {
            return(false);
        }
    }
예제 #2
0
    public override bool Decide(StateController controller)
    {
        StrongerThanEnemyDecision STED = new StrongerThanEnemyDecision();

        return(!STED.Decide(controller));
    }