Insert objects in a group.
Similar to phaser .add, but accept array of objects
object
<Object> | <Array> Object to be in insert in the group. Use as array to pass multiple objectsvar sprite1 = craft.$sprite('main');
var sprite2 = craft.$sprite('main');
var group = craft.$g()
.$add(sprite1);
// or
group.$add([sprite1,sprite2]);