теперь все картинки static
This commit is contained in:
parent
3620ff93c4
commit
19f25c5cee
@ -23,8 +23,8 @@ public class DrawingVLS {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private final Image doubleVlsImage = new Image(
|
private static final Image doubleVlsImage = new Image(
|
||||||
Objects.requireNonNull(getClass().getResource("images/doubleVLS.png")).toExternalForm()
|
Objects.requireNonNull(DrawingVLS.class.getResource("images/doubleVLS.png")).toExternalForm()
|
||||||
);
|
);
|
||||||
public void drawVLS(GraphicsContext gc, double x, double y, Color secondaryColor) {
|
public void drawVLS(GraphicsContext gc, double x, double y, Color secondaryColor) {
|
||||||
gc.setFill(secondaryColor);
|
gc.setFill(secondaryColor);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user