예제 #1
0
 /// <summary>
 /// Register the keyboard as player input
 /// </summary>
 /// <param name="_playerType">
 /// Which keyboard buttons to register WASD uses W, A, S, and D buttons.  
 /// ARROW uses right, left, down, and up buttons
 /// </param>
 public KeyboardPlayerInput(KeyboardPlayerType _playerType)
 {
     playerType = _playerType;
 }
예제 #2
0
 /// <summary>
 /// Register the keyboard as player input
 /// </summary>
 /// <param name="_playerType">
 /// Which keyboard buttons to register WASD uses W, A, S, and D buttons.
 /// ARROW uses right, left, down, and up buttons
 /// </param>
 public KeyboardPlayerInput(KeyboardPlayerType _playerType)
 {
     playerType = _playerType;
 }