Beispiel #1
0
 internal InputManager()
 {
     #if !WINDOWS_PHONE
     Players = new PlayerInputCollection();
     Mouse = new Mouse();
     #endif
 }
Beispiel #2
0
		internal InputManager()
		{
            for (int i = 0; i < 4; i++)
                _playerInputs[i] = new PlayerInput(i);

            PlayerInput = new PlayerInputCollection(_playerInputs);
#if WINDOWS
            Keyboard = new KeyboardInputState();
            Mouse = new MouseInputState();
#endif
		}