public ITimeNode NextNode() { if (turnQueue.Count == 0) { return(null); } var node = turnQueue.Dequeue(); timeSpan.SetTick(node.Tick); TurnPassed?.Invoke(this, TimePassed); return(node); }
void NotifyTurnPassed() { turnsElapsed += 1; TurnPassed?.Invoke(turnsElapsed); }