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<HTMLElement, Action[]>;
    commentList: Comment[];
    webSite: any;

    constructor(confirmedComments : Comment[] = [], displayUserView: boolean, isActive: boolean= false, webSite : any, userTabPosition : {x: string, y: string}) {
        this.isActive = isActive;
        this.displayUserView = displayUserView;
        this.nextActions = [];
        this.webSite = webSite;
        this.commentList = [];
        this.confirmedComments = confirmedComments;

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