click: function () { this.x = this.left; board.setSubject(town); if (board.is(['judge-woman:talk:first', 'judge-glass:talk:first', 'judge-young:talk:first'])) { loop.setMode({mode: map}); } else { board.notify({text: 'I won\'t go until I didn\'t talk to the judges', talker: 'barry'}); } },
Stadium.prototype.onMouseDown = function (event) { var options = event; var that = this; board.setSubject(event); options.callback = function () { if (that.barry.x > that.screen.viewport.width * 7.0 / 8) { loop.setMode({mode: map}); } }; this.areas.onMouseDown(event); board.activate(); };
Stadium.prototype.onMouseMove = function (event) { board.setSubject(event); this.areas.onMouseMove(event); };
hover: function () { board.setSubject(town); },
click: function () { board.setSubject(ventilation); },
Pizzaiolo.prototype.click = function () { board.setSubject(this); };
Pizzaiolo.prototype.hover = function () { board.setSubject(this); };