Package 

Interface DrawCommand

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void accept(GraphicsContext graphic, Wormhole2D<P> wormhole) The method consumes a graphic and a wormhole to draw something.
      DrawCommand<P> wrap(Supplier<Boolean> booleanSupplier) Wrapper method that wraps this DrawCommand into another that checks if should execute or not the accept method.
      • Methods inherited from class java.util.function.BiConsumer

        andThen
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait