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