Class JingleNoteManager

java.lang.Object
com.sk89q.commandbook.component.jinglenote.JingleNoteManager

public class JingleNoteManager
extends java.lang.Object
A manager of play instances.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.util.Map<java.util.UUID,​org.enginehub.jinglenote.JingleNotePlayer> instances
    List of instances.
  • Constructor Summary

    Constructors 
    Constructor Description
    JingleNoteManager()  
  • Method Summary

    Modifier and Type Method Description
    void play​(org.bukkit.entity.Player player, org.enginehub.jinglenote.sequencer.JingleSequencer sequencer)  
    boolean stop​(java.util.UUID playerID)  
    boolean stop​(org.bukkit.entity.Player player)  
    void stopAll()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • instances

      protected final java.util.Map<java.util.UUID,​org.enginehub.jinglenote.JingleNotePlayer> instances
      List of instances.
  • Constructor Details

  • Method Details

    • play

      public void play​(org.bukkit.entity.Player player, org.enginehub.jinglenote.sequencer.JingleSequencer sequencer)
    • stop

      public boolean stop​(java.util.UUID playerID)
    • stop

      public boolean stop​(org.bukkit.entity.Player player)
    • stopAll

      public void stopAll()