import Action from "./Action";
import Comment from "./Comment";
import Checklist from "./CheckList";

export default class State {
    isActive: boolean;
    nextActions: Action[];
    commentsUp: Comment[];
    popupCommentPosition: {x: string, y: string};
    displayComments: boolean;
    checklist: Checklist;

    elementActionListMap: Map<Element, Action[]>;
    commentList: Comment[];
    webSite: any;

    constructor(commentsUp = [], displayComments: boolean, isActive: boolean= false, webSite, popupCommentPosition) {
        this.isActive = isActive;
        this.displayComments = displayComments;
        this.nextActions = [];
        this.webSite = webSite;
        this.commentList = [];
        this.commentsUp = commentsUp;

        this.popupCommentPosition = popupCommentPosition;
        this.elementActionListMap = new Map();
    }
}