89a82b54dc
* support for IR proximity * fixing build issue * missing break * remove auto-start of sensor * setting mode on onEvent * flooring slider value * bump up proximity * fixing threshold blocks
10 lines
274 B
TypeScript
10 lines
274 B
TypeScript
/// <reference path="./moduleView.ts" />
|
|
|
|
namespace pxsim.visuals {
|
|
export class InfraredView extends ModuleView implements LayoutElement {
|
|
|
|
constructor(port: number) {
|
|
super(INFRARED_SVG, "infrared", NodeType.InfraredSensor, port);
|
|
}
|
|
}
|
|
} |