@param {string} behaviorName
(behaviorName)
| 564 | |
| 565 | /** @param {string} behaviorName */ |
| 566 | getBehavior(behaviorName) { |
| 567 | const behavior = this._behaviors.get(behaviorName); |
| 568 | if (!behavior) throw new Error(`No behavior called ${behaviorName} found.`); |
| 569 | return behavior; |
| 570 | } |
| 571 | |
| 572 | noop() {} |
| 573 |