package interpreter;


import javafx.scene.control.Toggle;

// The actual command will be defined when implmenting the abstract class
public abstract class AbstractCommand implements Toggle {

    private int priority;
    private List<Check> checks;

    public AbstractCommand(List<Check> checks, int priority){
        this.checks = checks;
        this.priority = priority;
    }
    
    public abstract void operation();

}

@@ -15,16 +15,38 @@
 reter;%0A%0A
+import java.util.List;
 %0Aimport 

Update AbstractCommand.java