public void PerformSequence(TaskSequence sequence) { if (sequence != null) { sequence.Perform(this._ped); } }