forked from arne/asdf-games
9 lines
158 B
JavaScript
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;
|