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.Runnable
public static PartyQueueRunnable getRanked(Player p)
public boolean isValidQueue()
isValidQueue
in interface QueueRunnable
public int getFromRange()
getFromRange
in interface QueueRunnable
public int getToRange()
getToRange
in interface QueueRunnable
public int getCurrentElo()
getCurrentElo
in interface QueueRunnable
public int getRange()
getRange
in interface QueueRunnable
public BattleKit getKit()
getKit
in interface QueueRunnable
public void setRange(int range)
setRange
in interface QueueRunnable
range
- the range to setpublic boolean isAnyone()
isAnyone
in interface QueueRunnable
public void setAnyone(boolean anyone)
setAnyone
in interface QueueRunnable
anyone
- the anyone to setpublic int getCounter()
getCounter
in interface QueueRunnable
public void setCounter(int counter)
setCounter
in interface QueueRunnable
counter
- the counter to setpublic Party getParty()