Draw Command
interface DrawCommand<P : Position2D<out P>?> : BiConsumer<GraphicsContext, Wormhole2D<P>>
Content copied to clipboard
Functional interface that models a command for JavaFX thread to draw something on a javafx.scene.canvas.Canvas.
Parameters
<P>
The position type
Functions
Link copied to clipboard
The method consumes a graphic and a wormhole to draw something.
Link copied to clipboard
Link copied to clipboard
Wrapper method that wraps this DrawCommand into another that checks if should execute or not the accept method.