summaryrefslogtreecommitdiff
path: root/NET/worlds/scape/Point3PropertyEditor.java
blob: 6f0c01ca4696b0a85ce721cf10027b0003b01cb1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package NET.worlds.scape;

import NET.worlds.console.PolledDialog;

public class Point3PropertyEditor extends PropEditor {
   private Point3PropertyEditor(Property property) {
      super(property);
   }

   @Override
   public PolledDialog edit(EditTile parent, String title) {
      return new Point3EditorDialog(parent, title, this.property);
   }

   public static Property make(Property property) {
      property.setPropertyType(8);
      return property.setEditor(new Point3PropertyEditor(property));
   }
}