mapcomplete/UI/Input/InputElement.ts
2020-08-31 02:59:47 +02:00

12 lines
299 B
TypeScript

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