summaryrefslogtreecommitdiff
path: root/NET/worlds/scape/Point2PropertyEditor.java
diff options
context:
space:
mode:
Diffstat (limited to 'NET/worlds/scape/Point2PropertyEditor.java')
-rw-r--r--NET/worlds/scape/Point2PropertyEditor.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/NET/worlds/scape/Point2PropertyEditor.java b/NET/worlds/scape/Point2PropertyEditor.java
new file mode 100644
index 0000000..58ea863
--- /dev/null
+++ b/NET/worlds/scape/Point2PropertyEditor.java
@@ -0,0 +1,19 @@
+package NET.worlds.scape;
+
+import NET.worlds.console.PolledDialog;
+
+public class Point2PropertyEditor extends PropEditor {
+ private Point2PropertyEditor(Property property) {
+ super(property);
+ }
+
+ @Override
+ public PolledDialog edit(EditTile parent, String title) {
+ return new Point2EditorDialog(parent, title, this.property);
+ }
+
+ public static Property make(Property property) {
+ property.setPropertyType(7);
+ return property.setEditor(new Point2PropertyEditor(property));
+ }
+}