Size: 885
Comment:
|
← Revision 4 as of 2014-11-16 04:53:11 ⇥
Size: 885
Comment:
|
No differences found! |
Function: getMayor()
Usage: |
city.getMayor() |
Example: |
city.getMayor() |
returns hero object if there is a hero set as mayor, otherwise returns null
mayor = city.getMayor() if mayor echo "Mayor's name is "+mayor.name if !mayor echo "There is no mayor"