-
Notifications
You must be signed in to change notification settings - Fork 0
Property Namespace
webpigeon edited this page May 20, 2011
·
2 revisions
To make things more fluid, AdAstra uses a properties namespace for each asset.
asset.getProperty(String property); //returns 0 if property doesn't exist
asset.setProperty(String property, int value); //creates property if doesn't exist
asset.addProperty(String property, int value); //pass negative value to removeadastra.cargo.*
adstra.status.* infomation about the current status of the asset.