mapcomplete/UI/Input/InputElement.ts

12 lines
299 B
TypeScript
Raw Permalink Normal View History

2020-07-20 15:54:50 +02:00
import {UIElement} from "../UIElement";
import {UIEventSource} from "../../Logic/UIEventSource";
2020-07-20 15:54:50 +02:00
export abstract class InputElement<T> extends UIElement{
abstract GetValue() : UIEventSource<T>;
abstract IsSelected: UIEventSource<boolean>;
2020-07-20 15:54:50 +02:00
abstract IsValid(t: T) : boolean;
2020-07-23 17:32:18 +02:00
}