Game variables module. Game variables are described in detail in Game Variables article.

Methods

inline getBool (id:String):Bool

Returns game variable value as Bool.

Parameters:

id

Game variable name.

Returns:

Game variable value.

inline getFloat (id:String):Float

Returns game variable value as Float.

Parameters:

id

Game variable name.

Returns:

Game variable value.

inline getInt (id:String):Int

Returns game variable value as Int.

Parameters:

id

Game variable name.

Returns:

Game variable value.

inline getObject (id:String):Dynamic

Returns game variable value as an anonymous object.

Parameters:

id

Game variable name.

Returns:

Game variable value.

getString (id:String):String

Returns game variable value as String.

Parameters:

id

Game variable name.

Returns:

Game variable value.