Platformer.Sprite.intersects C# (CSharp) 메소드

intersects() 공개 메소드

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

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

            return doesIntersect;
        }