示例#1
0
 public IInput GetPlayerInput(PlayerInputId i_playerIndex)
 {
     switch (i_playerIndex)
     {
     case PlayerInputId.Player1:
         Debug.Assert(m_player1 != null);
         return(m_player1);
     }
     return(null);
 }
示例#2
0
 public void RegisterInput(PlayerInputId i_playerIndex, IInput i_input)
 {
     m_player1 = i_input;
 }