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