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.

11 lines
217 B

  1. export class TextLabel {
  2. constructor(readonly id: number, private _text: string, readonly user: number) {}
  3. get text(): string {
  4. return this._text
  5. }
  6. updateText(text: string) {
  7. this._text = text
  8. }
  9. }