public static void Update(GameTime gameTime) { if (EditorMode) { if (Game1.self.IsActive) { MyEditor.Update(gameTime); } SenderManager.Update(gameTime); } else { if (KeyboardManager.keyboardState.IsKeyDown(Keys.Escape)) { SwitchFromPlay(); } else { GameManager.Update(gameTime); FPSCounter.Update(gameTime); } } }
public void SendToXbox(Button button) { Destroy(); SenderManager.Create(); }