mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
fix merge conflicts
This commit is contained in:
parent
9060a35350
commit
4cfedc8d9d
1 changed files with 2 additions and 22 deletions
|
@ -105,17 +105,10 @@ class Runtime extends EventEmitter {
|
|||
this._cloneCounter = 0;
|
||||
|
||||
/**
|
||||
<<<<<<< HEAD
|
||||
* List of all monitors.
|
||||
*/
|
||||
this._monitorState = {};
|
||||
=======
|
||||
* Flag to emit a targets update at the end of a step. When target data
|
||||
* changes, this flag is set to true.
|
||||
* @type {boolean}
|
||||
*/
|
||||
this._refreshTargets = false;
|
||||
>>>>>>> develop
|
||||
|
||||
|
||||
/**
|
||||
* Whether the project is in "turbo mode."
|
||||
|
@ -697,7 +690,7 @@ class Runtime extends EventEmitter {
|
|||
}
|
||||
if (this._refreshTargets) this.emit(Runtime.TARGETS_UPDATE);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the number of threads in the given array that are monitor threads (threads
|
||||
* that update monitor values, and don't count as running a script).
|
||||
|
@ -864,17 +857,6 @@ class Runtime extends EventEmitter {
|
|||
this.emit(Runtime.VISUAL_REPORT, {id: blockId, value: String(value)});
|
||||
}
|
||||
|
||||
/**
|
||||
<<<<<<< HEAD
|
||||
* Emit a sprite info report if the provided target is the original sprite
|
||||
* @param {!Target} target Target to report sprite info for.
|
||||
*/
|
||||
spriteInfoReport (target) {
|
||||
if (!target.isOriginal) return;
|
||||
|
||||
this.emit(Runtime.SPRITE_INFO_REPORT, target.toJSON());
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a monitor to the state. If the monitor already exists in the state,
|
||||
* overwrites it.
|
||||
|
@ -905,8 +887,6 @@ class Runtime extends EventEmitter {
|
|||
}
|
||||
|
||||
/**
|
||||
=======
|
||||
>>>>>>> develop
|
||||
* Get a target by its id.
|
||||
* @param {string} targetId Id of target to find.
|
||||
* @return {?Target} The target, if found.
|
||||
|
|
Loading…
Reference in a new issue