public class MinigameHexAGone extends MinigameTemplateBreakingFloor
breakingBlocks, eliminatedPlayers, maxLosingPlayers
Constructor and Description |
---|
MinigameHexAGone() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
void |
handleMoveEvent(org.bukkit.event.player.PlayerMoveEvent event)
Handles the given move event, that occured in the minigame.
|
void |
handleQuitEvent(org.bukkit.entity.Player player)
Handles the given quit event, that occured in the minigame.
|
void |
handleStartEvent()
Handles the start event, that gets fired when the start countdown ends.
|
void |
makeBlockBreak(org.bukkit.block.Block block)
Makes the given block break and removes it from the list.
|
void |
startGame(java.util.List<org.bukkit.entity.Player> players)
Starts a new game.
|
endGame, getDescription
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleAnimationEvent, handleDamageEvent, handleDeathEvent, handleInteractEvent, handleProjectileHitEvent, handleTick
public java.lang.String getName()
public void startGame(java.util.List<org.bukkit.entity.Player> players)
players
- The players who participate.public void handleStartEvent()
public void handleQuitEvent(org.bukkit.entity.Player player)
player
- The player who quit.public void handleMoveEvent(org.bukkit.event.player.PlayerMoveEvent event)
event
- The move event.public void makeBlockBreak(org.bukkit.block.Block block)
block
- The block to break.