public void DoDfsClick() { PacmanBehavior pacmanBehavior = GetPacmanBehavior(); if (pacmanBehavior != null) { pacmanBehavior.DoDFS(); } }