import { GridCellAction } from "../../../placement/action/GridCellAction.js";

export class GridCellActionLogToConsole extends GridCellAction {

    message = "";

    static from(message) {
        const r = new GridCellActionLogToConsole();

        r.message = message;

        return r;
    }

    execute(data, x, y, rotation) {
        console.log(x, y, rotation, this.message);
    }
}
