public class PlaceContainerEnjoy extends PlaceContainer
| Constructor and Description |
|---|
PlaceContainerEnjoy(Place place) |
| Modifier and Type | Method and Description |
|---|---|
List<Ticket> |
loadTickets()
Retrieves the list of tickets for this place from the database.
|
void |
setTicket(Ticket ticket)
Adds the ticket to m_tickets if it is not already contained, sets the tickets
place_id and saves the ticket
|
clearTickets, getButton, getFloor, getName, getPlace, getTicket, getUnlockState, getX, getY, joinTicket, lockedBy, marked, newTicket, setButtonBounds, setState, setUnlockStatepublic PlaceContainerEnjoy(Place place)
public void setTicket(Ticket ticket) throws BasicException
PlaceContainersetTicket in class PlaceContainerBasicExceptionpublic List<Ticket> loadTickets() throws BasicException
loadTickets in class PlaceContainerBasicExceptionCopyright © 2021. All rights reserved.