summaryrefslogtreecommitdiff
path: root/NET/worlds/scape/Point2PropertyEditor.java
blob: 58ea8637b49ba085aeede988852e2de4874d612c (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 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));
   }
}