import { MODES } from "../../modes";
import Connection from "./ConnectionCode";

export default class State {
	connection: Connection;
	followedConnection: Connection;
	
	mode: MODES;

	popupCommentPosition: { x: string; y: string };
	displayComments: boolean;
	commentsUp: any[];
	screenshotList: { image: string; interactionIndex: number }[];

	managedWindowId: number;

	explorationEvaluation: {fulfilled: any[], notFulfilled: any[]};
	isActive: boolean;

	constructor() {
		this.mode = MODES.STOP;
		
		this.commentsUp = [];
		this.screenshotList = []; // not in state because it is too heavy
		
		this.displayComments = false;
		this.popupCommentPosition = {
            x: "75%",
            y: "75%"
		};
	}

}
