summaryrefslogtreecommitdiff
path: root/NET/worlds/scape/TransformPropertyEditor.java
blob: 22ec6ef4fc8a4dbbe123aa67df2faf47bfaff3c4 (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 TransformPropertyEditor extends PropEditor {
   private TransformPropertyEditor(Property property) {
      super(property);
   }

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

   public static Property make(Property property) {
      property.setPropertyType(9);
      return property.setEditor(new TransformPropertyEditor(property));
   }
}