Esempio n. 1
0
 private void NextHero() {
     // Remove first element in the list
     if(_heroList.Count > 0) {
         _currentHero = _heroList[0];
         _heroList.RemoveAt(0);
         _currentHero.MoveToCenter();
     }
     MoveHeroPositions();
     AddHero(); // Add hero to the end of the queue        
 }