diff --git a/src/sprites/rendered-target.js b/src/sprites/rendered-target.js index 40b774fb2..b0c1ebfed 100644 --- a/src/sprites/rendered-target.js +++ b/src/sprites/rendered-target.js @@ -1,4 +1,3 @@ -const log = require('../util/log'); const MathUtil = require('../util/math-util'); const StringUtil = require('../util/string-util'); const Cast = require('../util/cast'); @@ -341,23 +340,6 @@ class RenderedTarget extends Target { this.runtime.requestTargetsUpdate(this); } - /** - * Set a say bubble. - * @param {?string} type Type of say bubble: "say", "think", or null. - * @param {?string} message Message to put in say bubble. - */ - setSay (type, message) { - if (this.isStage) { - return; - } - // @todo: Render to stage. - if (!type || !message) { - log.info('Clearing say bubble'); - return; - } - log.info('Setting say bubble:', type, message); - } - /** * Set visibility; i.e., whether it's shown or hidden. * @param {!boolean} visible True if should be shown. diff --git a/test/unit/sprites_rendered-target.js b/test/unit/sprites_rendered-target.js index 20430008b..681a10d86 100644 --- a/test/unit/sprites_rendered-target.js +++ b/test/unit/sprites_rendered-target.js @@ -56,17 +56,6 @@ test('direction', t => { t.end(); }); -test('setSay', t => { - const r = new Runtime(); - const s = new Sprite(null, r); - const a = new RenderedTarget(s, r); - const renderer = new FakeRenderer(); - a.renderer = renderer; - a.setSay(); - a.setSay('types not specified', 'message'); - t.end(); -}); - test('setVisible', t => { const r = new Runtime(); const s = new Sprite(null, r);