vooga.levelEditor.annotations
Annotation Type EditableDouble


@Documented
@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface EditableDouble

Marks a double that will be editable by the level editor.

Author:
Phil Puryear

Required Element Summary
 double defaultValue
          The default value to be used for this parameter.
 java.lang.String editorName
          The name that the level editor will use for this parameter.
 
Optional Element Summary
 double[] allowedValues
          A set of allowed values for this parameter.
 double maxValue
          The maximum value that the editor may allow for this parameter.
 double minValue
          The minimum value that the editor may allow for this parameter.
 

Element Detail

defaultValue

public abstract double defaultValue
The default value to be used for this parameter.


editorName

public abstract java.lang.String editorName
The name that the level editor will use for this parameter.

minValue

public abstract double minValue
The minimum value that the editor may allow for this parameter. Defaults to -Double.MAX_VALUE if unspecified.

Default:
-1.7976931348623157E308

maxValue

public abstract double maxValue
The maximum value that the editor may allow for this parameter. Defaults to Double.MAX_VALUE if unspecified.

Default:
1.7976931348623157E308

allowedValues

public abstract double[] allowedValues
A set of allowed values for this parameter. Allows any value (between min and max) if unspecified.

Default:
{}