export class Action { constructor(name, scene) { this.name = name; this.scene = scene; } async log(src, dest, msg, obj, symbol = '->>') { const logObj = false; await this.scene.sequence.log( `${src.name} ${symbol} ${dest.name} : ${this.name} ${msg ?? ''} ${ logObj && obj ? JSON.stringify(obj) : '' }`, ); } }