Class SwapHealthTemplate

java.lang.Object
org.bukkit.scheduler.BukkitRunnable
uk.radialbog9.spigot.manhunt.scenario.template.SwapScenarioTemplate
uk.radialbog9.spigot.manhunt.scenario.template.SwapHealthTemplate
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
HealthSwapHuntersScenario, HealthSwapRunnersScenario, HealthSwapScenario

public abstract class SwapHealthTemplate extends SwapScenarioTemplate
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    swap(org.bukkit.entity.Player player1, org.bukkit.entity.Player player2)
    Swaps player 1 with player 2

    Methods inherited from class uk.radialbog9.spigot.manhunt.scenario.template.SwapScenarioTemplate

    getPlayerSet, run

    Methods inherited from class org.bukkit.scheduler.BukkitRunnable

    cancel, getTaskId, isCancelled, runTask, runTaskAsynchronously, runTaskLater, runTaskLaterAsynchronously, runTaskTimer, runTaskTimerAsynchronously

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SwapHealthTemplate

      public SwapHealthTemplate()
  • Method Details

    • swap

      public void swap(org.bukkit.entity.Player player1, org.bukkit.entity.Player player2)
      Description copied from class: SwapScenarioTemplate
      Swaps player 1 with player 2
      Specified by:
      swap in class SwapScenarioTemplate
      Parameters:
      player1 - The first player
      player2 - The second player