Beispiel #1
0
 public MultiState(KeyboardState keyboardState, MouseButtonState mouseButtonState, GamePadState gamePadState)
 {
     _keyboardState = keyboardState;
     _mouseButtonState = mouseButtonState;
     _gamePadState = gamePadState;
 }
Beispiel #2
0
 public MultiState(KeyboardState keyboardState, MouseButtonState mouseButtonState, GamePadState gamePadState)
 {
     _keyboardState    = keyboardState;
     _mouseButtonState = mouseButtonState;
     _gamePadState     = gamePadState;
 }
Beispiel #3
0
 public MultiState()
 {
     _keyboardState = Keyboard.GetState();
     _mouseButtonState = new MouseButtonState(Mouse.GetState());
     _gamePadState = GamePad.GetState(PlayerIndex.One);
 }
Beispiel #4
0
 public MultiState()
 {
     _keyboardState    = Keyboard.GetState();
     _mouseButtonState = new MouseButtonState(Mouse.GetState());
     _gamePadState     = GamePad.GetState(PlayerIndex.One);
 }