public void Update(GameTime gameTime) { if (EventCounter > 0 && Events[0].Update(gameTime)) { FactionEvent temp = Events[0]; Events[0] = Events[EventCounter - 1]; Events[EventCounter - 1] = temp; EventCounter--; } }
public Faction(int Team) { this.Team = Team; MiningPlatformCounter = 2; Cards = new List <FactionCard>(); for (int i = 0; i < MaxEvents; i++) { Events[i] = new FactionEvent(); } }