public ActionEventArgs(MovingObject caller, FRect queryRect) : base(EventType.Action) { this.caller = caller; this.queryRect = queryRect; }
/// <summary> /// Checks if this rectangle intersects another rectangle /// </summary> /// <param name="Rect">The rectangle to check</param> /// <returns>Whether or not this rectangle intersects the other</returns> public bool Intersects(FRect Rect) { return (!( Bottom < Rect.Top || Top > Rect.Bottom || Right < Rect.Left || Left > Rect.Right )); }