mapcomplete/UI/Input/InputElement.ts
2020-08-17 17:23:15 +02:00

11 lines
309 B
TypeScript

import {UIElement} from "../UIElement";
import {FixedUiElement} from "../Base/FixedUiElement";
import {UIEventSource} from "../../Logic/UIEventSource";
export abstract class InputElement<T> extends UIElement{
abstract GetValue() : UIEventSource<T>;
abstract IsValid(t: T) : boolean;
}