Platformer.Sprite.intersects C# (CSharp) Method

intersects() public method

public intersects ( Sprite other ) : bool
other Sprite
return bool
        public bool intersects(Sprite other)
        {
            bool doesIntersect = false;

            if (other != null)
                doesIntersect = this.Bounds.Intersects(other.Bounds);

            return doesIntersect;
        }