2021-08-20 20:47:02 -05:00
|
|
|
/// <reference path="./IResource.ts" />
|
2021-08-18 10:09:19 -05:00
|
|
|
|
|
|
|
class Religion implements IResource {
|
2021-08-21 10:44:53 -05:00
|
|
|
public readonly resourceType: ResourceType = ResourceType.Religion;
|
2021-08-21 12:45:58 -05:00
|
|
|
public readonly clickText: null = null;
|
|
|
|
public readonly clickDescription: null = null;
|
2021-08-21 17:06:51 -05:00
|
|
|
public readonly clickAction: null = null;
|
2021-08-21 12:45:58 -05:00
|
|
|
public readonly advanceAction: null = null;
|
|
|
|
public readonly cost: null = null;
|
|
|
|
public readonly max: null = null;
|
|
|
|
public readonly inc: null = null;
|
2021-08-22 11:07:49 -05:00
|
|
|
public readonly valueInWholeNumbers: boolean = true;
|
2021-08-18 10:09:19 -05:00
|
|
|
|
|
|
|
constructor (
|
|
|
|
public readonly name: string,
|
2021-08-18 15:36:02 -05:00
|
|
|
public readonly description: string,
|
2021-08-20 17:12:32 -05:00
|
|
|
public value: number,
|
2021-08-20 23:00:24 -05:00
|
|
|
) { }
|
|
|
|
|
|
|
|
public isUnlocked (state: GameState): boolean {
|
|
|
|
return true;
|
2021-08-18 10:09:19 -05:00
|
|
|
}
|
|
|
|
}
|