This repository has been archived on 2022-01-16. You can view files and clone it, but cannot push or open issues or pull requests.
irreligious/src/model/resource/Religion.ts

24 lines
725 B
TypeScript
Raw Normal View History

/// <reference path="./IResource.ts" />
2021-08-18 10:09:19 -05:00
class Religion implements IResource {
public readonly resourceType: ResourceType = ResourceType.Religion;
public readonly clickText: string = null;
public readonly clickDescription: string = null;
public readonly advanceAction: (time: number) => void = null;
public readonly cost: { [key: string]: number } = null;
public readonly max: () => null = (): null => null;
public readonly inc: () => null = (): null => null;
public readonly clickAction: () => void = null;
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,
) { }
public isUnlocked (state: GameState): boolean {
return true;
2021-08-18 10:09:19 -05:00
}
}