public class PartyQueueRunnable extends java.lang.Object implements QueueRunnable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RANKED_QUEUE |
| Constructor and Description |
|---|
PartyQueueRunnable(StrikePractice plugin,
Party party,
BattleKit kit) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCounter() |
int |
getCurrentElo() |
int |
getFromRange() |
BattleKit |
getKit() |
Party |
getParty() |
int |
getRange() |
static PartyQueueRunnable |
getRanked(Player p) |
int |
getToRange() |
boolean |
isAnyone() |
boolean |
isValidQueue() |
void |
run() |
void |
setAnyone(boolean anyone) |
void |
setCounter(int counter) |
void |
setRange(int range) |
public static final java.lang.String RANKED_QUEUE
public void run()
run in interface java.lang.Runnablepublic static PartyQueueRunnable getRanked(Player p)
public boolean isValidQueue()
isValidQueue in interface QueueRunnablepublic int getFromRange()
getFromRange in interface QueueRunnablepublic int getToRange()
getToRange in interface QueueRunnablepublic int getCurrentElo()
getCurrentElo in interface QueueRunnablepublic int getRange()
getRange in interface QueueRunnablepublic BattleKit getKit()
getKit in interface QueueRunnablepublic void setRange(int range)
setRange in interface QueueRunnablerange - the range to setpublic boolean isAnyone()
isAnyone in interface QueueRunnablepublic void setAnyone(boolean anyone)
setAnyone in interface QueueRunnableanyone - the anyone to setpublic int getCounter()
getCounter in interface QueueRunnablepublic void setCounter(int counter)
setCounter in interface QueueRunnablecounter - the counter to setpublic Party getParty()