mapcomplete/Customizations/UIElementConstructor.ts
Pieter Vander Vennet e601807fc5 Fix build
2020-07-30 10:03:47 +02:00

23 lines
No EOL
619 B
TypeScript

import {UIEventSource} from "../UI/UIEventSource";
import {Changes} from "../Logic/Osm/Changes";
import {UIElement} from "../UI/UIElement";
export interface TagDependantUIElementConstructor {
construct(dependencies: {tags: UIEventSource<any>, changes: Changes}): TagDependantUIElement;
IsKnown(properties: any): boolean;
IsQuestioning(properties: any): boolean;
Priority(): number;
}
export abstract class TagDependantUIElement extends UIElement {
abstract IsKnown(): boolean;
abstract IsQuestioning(): boolean;
abstract Priority() : number;
abstract IsSkipped() : boolean;
}