Exemple #1
0
        public Task(int id, Award ward, OperatorOperation accept, OperatorOperation update, OperatorOperation complete, State state = State.CannotAccept)
        {
            this.id           = id;
            this.ward         = ward;
            acceptOperation   = accept;
            updateOperation   = update;
            completeOperation = complete;

            if (state == State.DoTasking)
            {
                OnStart();
            }
        }
Exemple #2
0
 public AndOperation(OperatorOperation o, OperatorOperation o2) : base(o, o2)
 {
 }
Exemple #3
0
 public OrOperation(OperatorOperation o) : base(o)
 {
 }
Exemple #4
0
 public AndOperation(OperatorOperation o) : base(o)
 {
 }
Exemple #5
0
 public StrikeKillTask(int id, Award ward, OperatorOperation accept, OperatorOperation update, OperatorOperation complete, State state = State.CannotAccept) : base(id, ward, accept, update, complete, state)
 {
 }