pxt-ev3/sim/visuals/boardview.ts

10 lines
313 B
TypeScript
Raw Permalink Normal View History

2017-07-11 10:15:17 +02:00
namespace pxsim.visuals {
mkBoardView = (opts: BoardViewOptions): BoardView => {
2017-12-18 22:04:17 +01:00
return new visuals.EV3View({
2017-07-11 10:15:17 +02:00
runtime: runtime,
theme: visuals.randomTheme(opts.highContrast, opts.light),
2017-07-11 10:15:17 +02:00
disableTilt: false,
wireframe: opts.wireframe,
});
}
}