Example #1
0
    public AIDomainBuilder HasStateGreaterThan(AIWorldState state, byte value)
    {
        var condition = new HasWorldStateGreaterThanCondition(state, value);

        Pointer.AddCondition(condition);
        return(this);
    }
Example #2
0
    public AIDomainBuilder HasState(AIWorldState state)
    {
        var condition = new HasWorldStateCondition(state);

        Pointer.AddCondition(condition);
        return(this);
    }
Example #3
0
        public CharacterDomainBuilder CanCastAnySpell()
        {
            var condition = new CanCastAnySpellCondition();

            Pointer.AddCondition(condition);
            return(this);
        }
Example #4
0
        public CharacterDomainBuilder HasState(CharacterWorldState state, byte value)
        {
            var condition = new HasWorldStateCondition(state, value);

            Pointer.AddCondition(condition);
            return(this);
        }
Example #5
0
        public AIDomainBuilder HasState(AIWorldState state, byte value)
        {
            var condition = new HasWorldStateCondition(state, value);

            condition.Depth = Pointer.Depth + 1;
            Pointer.AddCondition(condition);
            return(this);
        }