/** * This function collides <code>defaultGroup</code> against <code>defaultGroup</code> * (basically everything you added to this state). */ virtual public void collide() { FlxU.collide(defaultGroup, defaultGroup); }
/** * If you don't want to call <code>FlxU.collide()</code> you can use this instead. * Just calls <code>FlxU.collide(this,Object);</code>. Will collide against itself * if Object==null. * * @param Object The <FlxObject> you want to collide with. */ virtual public bool collide(FlxObject Object) { return(FlxU.collide(this, ((Object == null)?this:Object))); }