void CustomActivity(bool firstTimeCalled) { if (!switchingLevels) { CollisionActivity(); } CameraActivity(); PlayerInstance.DetermineMovementValues(); GlobalData.PlayerData.playerPos = new Vector2(PlayerInstance.Position.X, PlayerInstance.Position.Y); FlatRedBall.Debugging.Debugger.Write("Player Health: " + GlobalData.PlayerData.health); HealthActivity(); if (TheEnd) { TheEndText.Visible = true; if (InputManager.Keyboard.KeyDown(Keys.Enter)) { MoveToScreen(typeof(MenuScreen)); } } }