Class SpawnEvent

    • Constructor Summary

      Constructors 
      Constructor Description
      SpawnEvent​(Entity entity, boolean spawn)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispatch​(java.util.EventListener eventListener)  
      java.lang.String toString()  
      • Methods inherited from class java.util.EventObject

        getSource
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SpawnEvent

        public SpawnEvent​(Entity entity,
                          boolean spawn)
    • Method Detail

      • dispatch

        public void dispatch​(java.util.EventListener eventListener)
        Specified by:
        dispatch in class ScriptEvent
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.util.EventObject