mapcomplete/UI/Input/InputElement.ts

12 lines
299 B
TypeScript
Raw Normal View History

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