public MinionManager(int p) { minArray = new Minion[p]; minionsAlive = p; for (int i = 0; i < p; i++) { minArray[i] = new Minion(); } }
private bool minInMid() { foreach (Minion element in minArray) { if (element.position == 1) { currentMinion = element; return true; } } return false; }