2017-05-30 10:05:13 -04:00
|
|
|
const {Record} = require('immutable');
|
|
|
|
|
|
|
|
const MonitorRecord = Record({
|
2018-05-08 14:09:18 -04:00
|
|
|
id: null, // Block Id
|
2017-11-13 16:28:50 -05:00
|
|
|
/** Present only if the monitor is sprite-specific, such as x position */
|
|
|
|
spriteName: null,
|
2017-11-14 18:25:54 -05:00
|
|
|
/** Present only if the monitor is sprite-specific, such as x position */
|
|
|
|
targetId: null,
|
2017-05-30 10:05:13 -04:00
|
|
|
opcode: null,
|
|
|
|
value: null,
|
2018-05-08 14:09:18 -04:00
|
|
|
params: null,
|
2018-05-08 17:30:39 -04:00
|
|
|
mode: 'default',
|
2018-05-08 14:09:18 -04:00
|
|
|
sliderMin: 0,
|
|
|
|
sliderMax: 100,
|
|
|
|
x: 0,
|
|
|
|
y: 0,
|
|
|
|
width: 0,
|
|
|
|
height: 0,
|
|
|
|
visible: true
|
2017-05-30 10:05:13 -04:00
|
|
|
});
|
|
|
|
|
|
|
|
module.exports = MonitorRecord;
|