You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
webpigeon edited this page May 20, 2011
·
2 revisions
To make things more fluid, AdAstra uses a properties namespace for each asset.
Changing Properties
asset.getProperty(Stringproperty); //returns 0 if property doesn't existasset.setProperty(Stringproperty, intvalue); //creates property if doesn't existasset.addProperty(Stringproperty, intvalue); //pass negative value to remove
Cargo
adastra.cargo.*
Asset status
adstra.status.*
infomation about the current status of the asset.