You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
309 B

export class TextLabel {
constructor(readonly id: number, private _text: string, readonly user: number) {}
public static create(text: string): TextLabel {
return new TextLabel(0, text, 0)
}
get text(): string {
return this._text
}
updateText(text: string) {
this._text = text
}
}