renderer.js 240 B

123456789101112131415
  1. 'user strict';
  2. export default class Renderer {
  3. constructor() {
  4. if (this.constructor === Renderer) {
  5. throw new TypeError('Abstract class "Renderer" cannot be instantiated directly.');
  6. }
  7. }
  8. render(){}
  9. getInput(){}
  10. }