Added a addPlayerInput function to the interface.