Added getter and setter for player member of UI class