forked from arne/asdf-games
9 lines
156 B
JavaScript
9 lines
156 B
JavaScript
class Text {
|
|
constructor(text = "", style = {}) {
|
|
this.pos = { x: 0, y: 0 };
|
|
this.text = text;
|
|
this.style = style;
|
|
}
|
|
}
|
|
export default Text;
|