vooga.levelEditor.annotations
Annotation Type LevelEditorSetter


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface LevelEditorSetter

Marks that this function sets a value that the game developer would like to be tunable in the level editor. All of the parameters to this function should be annotated with one of the Editable* annotations so that the editor knows how to call this function.

Here is a fully-annotated example:

 @LevelEditorSetter setPosition(
     @EditableDouble(10.0) double x,
     @EditableDouble(5.0) double y) {
   ...
 }
 

Author:
Phil Puryear