Mappy_Map2D.Tile.Intersects C# (CSharp) Méthode

Intersects() public static méthode

public static Intersects ( Rectangle objDestRect, Tile a ) : bool
objDestRect Microsoft.Xna.Framework.Rectangle
a Tile
Résultat bool
        public static bool Intersects(Rectangle objDestRect, Tile a)
        {
            if (objDestRect.Intersects(a.DestRect))
            {
                return true;
            }

            return false;
        }