Class EntityReceiverAbstract

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      protected abstract void receive​(Entity entity)
      Used to receive the entity.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EntityReceiverAbstract

        public EntityReceiverAbstract()
    • Method Detail

      • receive

        protected abstract void receive​(Entity entity)
        Used to receive the entity.
        Parameters:
        entity - Must not be null or IllegalArgument exception should be thrown