Skip to content
HungryForFood edited this page Jan 23, 2021 · 4 revisions

Methods will be listed in alphabetical order using the following format:

Return Method (arguments) Description
type SomeMethod(type arg1, opt type arg2, ...) desc

Where:

  • type - Variable data type.
  • SomeMethod - Method name.
  • arg - Arguments.
  • opt - If you see this in front of an argument, that argument is optional.
  • desc - Short description on the method. Not present for every method, as most are self explanatory.

Return shows the data type of the variable(s) produced by the method.

Instance methods are invoked through a colon, as in caller:SomeMethod(<args>), where caller is the instance, such as City or Player.