Moved the input storage method to the player input, since we don't need an extra class for data management.