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.

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