private static void SecondPlayerBallControls(GameTime gameTime) { if (SecondPlayer.Instance.InputManagerInstance.KeyDown(Keys.RightControl)) { ballSecond.BallFired = true; secondBallTimer.Start(); if (!ballSecond.BallInitialised) { ballSecond.CannonEffect.Play(); ballSecond.FireFlashCounter = 0; ballSecond.Initialise(ballSecond.BallFiredPos = new Vector2(SecondPlayer.Instance.Ship.Position.X - SecondPlayer.Instance.ShipImage.Texture.Width / 2f, SecondPlayer.Instance.Ship.Position.Y + (SecondPlayer.Instance.ShipImage.Texture.Height / 2f)), SecondPlayer.Instance.PlayerType); ballSecond.BallInitialised = true; } } if (ballSecond.BallFired) { ballSecond.UpdateSecond(gameTime); } }