public override void FTSUpdate(GameTime timeSpent) { if (_isFixTimeStepMode) { ActionsManager.FetchInputs(); ActionsManager.Update(); MouseManager.Update(); KeyboardManager.Update(); } }
private void OnUpdate(object sender, EventArgs e) { Invoke(new Action(() => { _objectSlotManager.Update(); _objectManager.Update(tabControlMain.SelectedTab == tabPageObjects); _marioManager.Update(tabControlMain.SelectedTab == tabPageMario); _cameraManager.Update(tabControlMain.SelectedTab == tabPageCamera); _hudManager.Update(tabControlMain.SelectedTab == tabPageHud); _actionsManager.Update(tabControlMain.SelectedTab == tabPageActions); _waterManager.Update(tabControlMain.SelectedTab == tabPageWater); _inputManager.Update(tabControlMain.SelectedTab == tabPageInput); _fileManager.Update(tabControlMain.SelectedTab == tabPageFile); _quarterFrameManager.Update(tabControlMain.SelectedTab == tabPageQuarterFrame); _cameraHackManager.Update(tabControlMain.SelectedTab == tabPageCamHack); _miscManager.Update(tabControlMain.SelectedTab == tabPageMisc); _triangleManager.Update(tabControlMain.SelectedTab == tabPageTriangles); _debugManager.Update(tabControlMain.SelectedTab == tabPageDebug); _puManager.Update(tabControlMain.SelectedTab == tabPagePu); _testingManager.Update(tabControlMain.SelectedTab == tabPageTesting); _mapManager?.Update(); _modelManager?.Update(); _scriptManager.Update(); _hackManager.Update(); })); }