using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SFML.Window;

namespace YourBeatingHeart.Main.States.Play.Collision
{
    public class CollisionLine
    {
        public float Y;
        public float Left;
        public float Right;

        /**
         * Note that the constructor takes the start and end point,
         * while the class stores the start point and the vector from there to the end.
         * This makes the calculations easier.
         */
        public CollisionLine(float y, float left, float right)
        {
            Y = y;
            Left = left;
            Right = right;
        }
    }
}
