pxt-ev3/sim/visuals/nodes/sensorView.ts
2018-04-16 11:50:12 -07:00

19 lines
425 B
TypeScript

/// <reference path="./moduleView.ts" />
namespace pxsim.visuals {
export abstract class SensorView extends ModuleView implements LayoutElement {
constructor(xml: string, prefix: string, id: NodeType, port: NodeType) {
super(xml, prefix, id, port);
}
public getSelected() {
return true;
}
public hasClose() {
return false;
}
}
}