SunsetHigh.CollisionManager.collisionWithSolidAtRelative C# (CSharp) Method

collisionWithSolidAtRelative() public static method

Returns whether the specified sprite collides with a solid object if its position were changed
public static collisionWithSolidAtRelative ( IInteractable p_sprite, Point p_offset ) : bool
p_sprite IInteractable
p_offset Point
return bool
        public static bool collisionWithSolidAtRelative(IInteractable p_sprite, Point p_offset)
        {
            return collisionWithObjectAtRelative(p_sprite, p_offset, "Solid") != null;
        }