collide() public method

Checks for collision with another Mask.
public collide ( Mask mask ) : System.Boolean
mask Mask The other Mask to check against.
return System.Boolean
Example #1
0
 /// <summary>
 /// Collide against a Masklist.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 protected Boolean collideMasklist(Mask other)
 {
     Masklist m = (Masklist)other;
     return other.collide(this);
 }