pxt-ev3/sim/visuals/nodes/gyroSensorView.ts

14 lines
336 B
TypeScript

/// <reference path="./moduleView.ts" />
namespace pxsim.visuals {
export class GyroSensorView extends ModuleView implements LayoutElement {
constructor(port: number) {
super(GYRO_SVG, "gyro", NodeType.GyroSensor, port);
}
public getPaddingRatio() {
return 1 / 4;
}
}
}