/// <summary> /// A.K.A HasAlphaOn(x,y). /// Lets each actor implement his own collisions using some square calculations. /// As a default, implements a square detection. /// </summary> /// <param name="x">X coordinate</param> /// <param name="y">Y coordinate</param> /// <returns>true if the actor can collide on x, y coordinates</returns> public bool IntersectsOn(float x, float y) { return(IntersectStrategy.IntersectsOn(x, y)); }
public bool IntersectsActor(IActor actor) { return(IntersectStrategy.IntersectsActor(actor)); }
public bool IntersectsWithin(float x, float width, float y, float height) { return(IntersectStrategy.IntersectsWithin(x, width, y, height)); }