public class DrawableComponent extends AbstractComponent
| Constructor and Description |
|---|
DrawableComponent(BiConsumer<javafx.scene.canvas.GraphicsContext,Entity> drawingFunction) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(javafx.scene.canvas.GraphicsContext g) |
getEntity, onAdded, onRemovedpublic DrawableComponent(BiConsumer<javafx.scene.canvas.GraphicsContext,Entity> drawingFunction)
Copyright © 2017. All rights reserved.