public override void OnStep() { _frameController.OnStep(); SortedDictionary <string, FSGameObject> .Enumerator goIt = gameObjectDictionary.GetEnumerator(); while (goIt.MoveNext()) { goIt.Current.Value.Step(); } //then do post step DoPostStep(); }