2020-07-12 21:19:05 +00:00
|
|
|
import {UIElement} from "../UI/UIElement";
|
2020-08-17 15:23:15 +00:00
|
|
|
import {UIEventSource} from "../Logic/UIEventSource";
|
2020-08-29 23:13:18 +00:00
|
|
|
import Translation from "../UI/i18n/Translation";
|
2020-07-12 21:19:05 +00:00
|
|
|
|
|
|
|
export interface TagDependantUIElementConstructor {
|
|
|
|
|
2020-10-14 10:15:09 +00:00
|
|
|
construct(tags: UIEventSource<any>): TagDependantUIElement;
|
2020-07-13 10:10:43 +00:00
|
|
|
IsKnown(properties: any): boolean;
|
|
|
|
IsQuestioning(properties: any): boolean;
|
2020-08-29 23:13:18 +00:00
|
|
|
GetContent(tags: any): Translation;
|
2020-08-22 00:12:46 +00:00
|
|
|
|
2020-07-12 21:19:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export abstract class TagDependantUIElement extends UIElement {
|
|
|
|
|
|
|
|
abstract IsKnown(): boolean;
|
|
|
|
|
|
|
|
abstract IsQuestioning(): boolean;
|
|
|
|
|
2020-07-24 23:07:02 +00:00
|
|
|
abstract IsSkipped() : boolean;
|
2020-07-12 21:19:05 +00:00
|
|
|
}
|