public MultiState(KeyboardState keyboardState, MouseButtonState mouseButtonState, GamePadState gamePadState) { _keyboardState = keyboardState; _mouseButtonState = mouseButtonState; _gamePadState = gamePadState; }
public MultiState() { _keyboardState = Keyboard.GetState(); _mouseButtonState = new MouseButtonState(Mouse.GetState()); _gamePadState = GamePad.GetState(PlayerIndex.One); }