package gui.misc;

import javafx.animation.Interpolator;
import javafx.beans.property.Property;
import lombok.Getter;

public class TransitionData<T> {
    @Getter
    private Property<T> property;
    @Getter
    private int ms;
    @Getter
    private Interpolator interpolator;
    
    public TransitionData(Property<T> property, int ms, Interpolator interpolator) {
        this.property = property;
        this.ms = ms;
        this.interpolator = interpolator;
    }
}

Create wrapper class for often used paramters in TransitionHelper
Create wrapper class for often used paramters in TransitionHelper
