public Boolean Fire() { // Mouse. if (mouseScreenInput.RightButtonPress()) { return(true); } if (mouseScreenInput.LeftButtonPress()) { Boolean test = controlManager.CheckJoyPadFire(mouseScreenInput.MousePosition); if (test) { return(true); } } // Joystick. if (joystickInput.JoyPress(Buttons.A)) { return(true); } // Keyboard. if (keyboardInput.KeyPress(Keys.Space)) { return(true); } return(false); }