Allow the player to open and close doors.