mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
0bf6dd9e6b
#implement #test
21 lines
435 B
Java
21 lines
435 B
Java
package seng302.visualiser.fxObjects.assets_2D;
|
|
|
|
import javafx.scene.paint.Paint;
|
|
import javafx.scene.shape.Line;
|
|
|
|
/**
|
|
* Visual object representing a gate, intended to connect two mark objects.
|
|
*/
|
|
public class Gate extends Line {
|
|
|
|
public Gate () {
|
|
super.setStrokeWidth(2);
|
|
super.getStrokeDashArray().setAll(2d, 5d);
|
|
}
|
|
|
|
public Gate (Paint colour) {
|
|
this();
|
|
super.setStroke(colour);
|
|
}
|
|
}
|