snippet:
Preview Code in Design mode
getActorType(0);
code mode without import com.stencyl.behavior.Script.*;
Script.getActorType(0);
computational shortcuts - requires import com.stencyl.Data
level 1:
return cast Data.get().resources.get(0);
level 2:
return cast Data.instance.resources.get(0);
No comments:
Post a Comment