asdf-games/lib/Text.js

9 lines
158 B
JavaScript

class Text {
constructor(text = "", style = {}) {
this.pos = { x: 0, y: 0 };
this.text = text;
this.style = style;
}
}
module.exports = Text;