SunsetHigh.CollisionManager.collisionWithTeleportAtRelative C# (CSharp) Method

collisionWithTeleportAtRelative() public static method

Returns whether the specified sprite collides with a teleport zone if its position were changed
public static collisionWithTeleportAtRelative ( IInteractable p_sprite, Point p_offset ) : MapObject
p_sprite IInteractable
p_offset Point
return TiledPipelineExtensions.MapObject
        public static MapObject collisionWithTeleportAtRelative(IInteractable p_sprite, Point p_offset)
        {
            return collisionWithObjectAtRelative(p_sprite, p_offset, "Teleport");
        }