add Ticket.setPrice(), change setFunc to boolean type