vooga.levelEditor.annotations
Annotation Type EditableInt


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

Marks an int that will be editable by the level editor.

Author:
Phil Puryear

Required Element Summary
 int 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
 int[] allowedValues
          A set of allowed values for this parameter.
 int maxValue
          The maximum value that the editor may allow for this parameter.
 int minValue
          The minimum value that the editor may allow for this parameter.
 

Element Detail

defaultValue

public abstract int 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 int minValue
The minimum value that the editor may allow for this parameter. Defaults to Integer.MIN_VALUE if unspecified.

Default:
-2147483648

maxValue

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

Default:
2147483647

allowedValues

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

Default:
{}