Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

addLoadComponent

Description

Add a load component. You will need to use this to save your mod's data (if anything needs to be saved). Please look into the loadComponent concept for more info.

Arguments

1 loadComponent object

the class that you wish to call the :load and :save methods of when the game gets saved.

2 string id

the unique ID for your loadComponent so that saving and loading can be performed properly.

3 number priority

the load/save priority


Notice: Undefined offset: 2 in /var/www/vhosts/gamedevstudiogame.com/httpdocs/templates/method_view.phtml on line 12

4 higher priority puts it ahead of lower prioritized components.