Adding batched messages + the notion of notifier / zones (not plugged in the system yet)
This commit is contained in:
parent
1879c550c4
commit
9b702c75e3
13 changed files with 518 additions and 22 deletions
|
@ -5,7 +5,11 @@ module.exports = {
|
|||
};
|
||||
|
||||
function setYRandom(context, events, done) {
|
||||
context.vars.x = (883 + Math.round(Math.random() * 300));
|
||||
context.vars.y = (270 + Math.round(Math.random() * 300));
|
||||
context.vars.x = (0 + Math.round(Math.random() * 1472));
|
||||
context.vars.y = (0 + Math.round(Math.random() * 1090));
|
||||
context.vars.left = context.vars.x - 320;
|
||||
context.vars.top = context.vars.y - 200;
|
||||
context.vars.right = context.vars.x + 320;
|
||||
context.vars.bottom = context.vars.y + 200;
|
||||
return done();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue