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

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

   public static Property make(Property property) {
      property.setPropertyType(6);
      return property.setEditor(new FloatArrayPropertyEditor(property));
   }
}