Class PotionScenarioTemplate
java.lang.Object
org.bukkit.scheduler.BukkitRunnable
uk.radialbog9.spigot.manhunt.scenario.template.PotionScenarioTemplate
- All Implemented Interfaces:
Runnable,ScenarioConfigurable
- Direct Known Subclasses:
HunterRandomPotionScenario,RunnerInvisibilityScenario,RunnerRandomPotionScenario
public abstract class PotionScenarioTemplate
extends org.bukkit.scheduler.BukkitRunnable
implements ScenarioConfigurable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<org.bukkit.entity.Player>abstract List<org.bukkit.potion.PotionEffectType>voidrun()voidsetConfig(ScenarioConfiguration config) Methods inherited from class org.bukkit.scheduler.BukkitRunnable
cancel, getTaskId, isCancelled, runTask, runTaskAsynchronously, runTaskLater, runTaskLaterAsynchronously, runTaskTimer, runTaskTimerAsynchronouslyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface uk.radialbog9.spigot.manhunt.scenario.config.ScenarioConfigurable
getConfig
-
Constructor Details
-
PotionScenarioTemplate
public PotionScenarioTemplate()
-
-
Method Details
-
getPlayerSet
-
getPotionEffectTypes
-
run
public void run() -
setConfig
- Specified by:
setConfigin interfaceScenarioConfigurable
-