accessory.ts 247 B

12345678910111213
  1. export abstract class accessory {
  2. public type: string
  3. public typeId: number
  4. constructor(type: string, typeId: number) {
  5. this.type = type
  6. this.typeId = typeId
  7. }
  8. abstract setName(name)
  9. abstract setValue(key, value)
  10. abstract update()
  11. }