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