public static void UpdateFrame(FrameEventArgs e) { if (_stateList.Count == 0) return; _stateList.Last().UpdateFrame(e); }