mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Refactored the setup for MarkObjects (now renamed Markers) and made the CompoundMark + Mark + GeoPoint classes the standard across all classes instead of GateMark + SingleMark + Mark.
#refactor
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package seng302.visualiser.fxObjects;
|
||||
|
||||
import javafx.scene.paint.Paint;
|
||||
import javafx.scene.shape.Circle;
|
||||
|
||||
/**
|
||||
* Visual object for a mark.
|
||||
*/
|
||||
public class Marker extends Circle {
|
||||
|
||||
public Marker() {
|
||||
super.setRadius(5);
|
||||
}
|
||||
|
||||
public Marker(Paint colour) {
|
||||
this();
|
||||
super.setFill(colour);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user