pxt-ev3/sim/visuals/boardview.ts

10 lines
313 B
TypeScript
Raw Normal View History

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