public class ChunkTicketManager<T> extends java.lang.Object implements ITicketGetter<T>
Modifier and Type | Field and Description |
---|---|
ChunkPos |
pos |
private java.util.Set<SimpleTicket<T>> |
tickets |
Constructor and Description |
---|
ChunkTicketManager(ChunkPos pos) |
Modifier and Type | Method and Description |
---|---|
void |
add(SimpleTicket<T> ticket) |
java.util.Collection<SimpleTicket<T>> |
getTickets() |
void |
remove(SimpleTicket<T> ticket) |
private final java.util.Set<SimpleTicket<T>> tickets
public final ChunkPos pos
public ChunkTicketManager(ChunkPos pos)
public void add(SimpleTicket<T> ticket)
add
in interface ITicketManager<T>
public void remove(SimpleTicket<T> ticket)
remove
in interface ITicketManager<T>
public java.util.Collection<SimpleTicket<T>> getTickets()
getTickets
in interface ITicketGetter<T>