mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Boats and map are now updated using the observer pattern.
#implement
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package seng302.visualiser.fxObjects;
|
||||
|
||||
import javafx.scene.paint.Color;
|
||||
import javafx.scene.shape.Polygon;
|
||||
|
||||
/**
|
||||
* Polygon with default course border settings.
|
||||
*/
|
||||
public class CourseBoundary extends Polygon {
|
||||
public CourseBoundary() {
|
||||
this.setStroke(new Color(0.0f, 0.0f, 0.74509807f, 1));
|
||||
this.setStrokeWidth(3);
|
||||
this.setFill(new Color(0,0,0,0));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user