void HandleBarracksInput(Barracks barracks) { if (Input.GetKeyDown(Barracks.makeWarriorKey)) // TODO: || { barracks.CreateWarrior(); } else if (Input.GetKeyDown(Barracks.makeSoldierKey)) { barracks.CreateSoldier(); } }
void HandleBarracksInput(Barracks barracks) { if (Input.GetKeyDown(Barracks.makeWarriorKey)) // TODO: || { barracks.CreateWarrior(); } else if (Input.GetKeyDown(Barracks.makeSoldierKey)) { barracks.CreateSoldier(); } }