Ejemplo n.º 1
0
 public bool Undo(Quest quest)
 {
     if (IsEachChildMatch(quest.Children, _predicate))
     {
         return(_inner.Undo(quest));
     }
     return(false);
 }
Ejemplo n.º 2
0
 ///<inheritdoc cref="IQuestCommand"/>
 public bool Undo(Quest quest)
 {
     return(_ifCommand.Undo(quest) || _elseCommand.Undo(quest));
 }
Ejemplo n.º 3
0
 public bool Undo(Quest quest)
 {
     return(_predicate(quest) && _innerCommand.Undo(quest));
 }
Ejemplo n.º 4
0
 ///<inheritdoc cref="ICommand"/>
 public virtual bool Undo()
 {
     return(QuestCommand.Undo(QuestRef));
 }