14 lines
247 B
TypeScript
14 lines
247 B
TypeScript
export abstract class accessory {
|
|
public type: string
|
|
public typeId: number
|
|
|
|
constructor(type: string, typeId: number) {
|
|
this.type = type
|
|
this.typeId = typeId
|
|
}
|
|
|
|
abstract setName(name)
|
|
abstract setValue(key, value)
|
|
abstract update()
|
|
}
|