public void DoBfsClick() { PacmanBehavior pacmanBehavior = GetPacmanBehavior(); if (pacmanBehavior != null) { pacmanBehavior.DoBFS(); } }