Untitled
unknown
plain_text
2 years ago
565 B
19
Indexable
import { EnergyType } from '../Energy';
abstract class Archetype {
private _name: string;
private _cost: number;
private _special: number;
constructor(name: string) {
this._name = name;
this._cost = 0;
this._special = 0;
}
get name(): string {
return this.name;
}
get cost(): number {
return this.cost;
}
get special(): number {
return this.special;
}
static createdArchetypeInstances(): number {
throw new Error('Not implemented');
}
abstract get energyType(): EnergyType;
}
export default Archetype;Editor is loading...
Leave a Comment