2021-09-12 13:58:57 -05:00
|
|
|
/// <reference path="./Resource.ts" />
|
2021-08-18 10:09:19 -05:00
|
|
|
|
2021-09-12 13:58:57 -05:00
|
|
|
class Religion extends Resource {
|
2021-09-05 15:02:50 -05:00
|
|
|
public readonly resourceType = ResourceType.religion;
|
|
|
|
public readonly valueInWholeNumbers = true;
|
2021-08-18 10:09:19 -05:00
|
|
|
|
2021-09-06 12:02:38 -05:00
|
|
|
constructor(
|
2021-09-12 13:58:57 -05:00
|
|
|
public readonly resourceKey: ResourceKey,
|
2021-09-06 08:51:41 -05:00
|
|
|
public readonly label: string,
|
2021-09-06 00:12:05 -05:00
|
|
|
public readonly singularName: string,
|
|
|
|
public readonly pluralName: string,
|
2021-08-18 15:36:02 -05:00
|
|
|
public readonly description: string,
|
2021-09-12 13:58:57 -05:00
|
|
|
initialValue: number
|
|
|
|
) {
|
|
|
|
super();
|
|
|
|
this.rawValue = initialValue;
|
2021-08-22 11:51:16 -05:00
|
|
|
}
|
|
|
|
|
2021-09-12 13:58:57 -05:00
|
|
|
public isUnlocked = (): boolean => true;
|
2021-08-18 10:09:19 -05:00
|
|
|
}
|