mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-25 07:22:33 -05:00
22 lines
511 B
JavaScript
22 lines
511 B
JavaScript
const {Record} = require('immutable');
|
|
|
|
const MonitorRecord = Record({
|
|
id: null, // Block Id
|
|
/** Present only if the monitor is sprite-specific, such as x position */
|
|
spriteName: null,
|
|
/** Present only if the monitor is sprite-specific, such as x position */
|
|
targetId: null,
|
|
opcode: null,
|
|
value: null,
|
|
params: null,
|
|
mode: 'default',
|
|
sliderMin: 0,
|
|
sliderMax: 100,
|
|
x: 0,
|
|
y: 0,
|
|
width: 0,
|
|
height: 0,
|
|
visible: true
|
|
});
|
|
|
|
module.exports = MonitorRecord;
|