treehouse/static/js/tairu/framework.js
2024-02-12 19:56:06 +01:00

14 lines
269 B
JavaScript

// A frameworking class assigning some CSS classes to the canvas to make it integrate nicer with CSS.
class Frame extends HTMLCanvasElement {
constructor() {
super();
this.style.cssText = `
`;
}
// Override this!
draw() { }
}