asdf-games/lib/Text.js

9 lines
158 B
JavaScript
Raw Normal View History

class Text {
constructor(text = "", style = {}) {
this.pos = { x: 0, y: 0 };
this.text = text;
this.style = style;
}
}
2020-02-29 13:45:56 +01:00
module.exports = Text;