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

export default class State {
    isActive: boolean;
    nextActions: Action[];
    confirmedComments: Comment[];
    userTabPosition: {x: string, y: string};
    displayUserView: boolean;

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

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

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