Skip to content

Annotations Metaprogramming

Almas Baimagambetov edited this page Mar 26, 2018 · 5 revisions

@OnUserAction

Indicates that a method is called when user triggers an action. The method signature must be public void anyName().

@OnUserAction(name = "Move Left")
public void moveLeft() {
    ...
}

@Handles

@Spawns

@SpawnSymbol

Clone this wiki locally