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,
|
2018-03-28 22:36:52 +02:00
|
|
|
theme: visuals.randomTheme(opts.highContrast, opts.light),
|
2017-07-11 10:15:17 +02:00
|
|
|
disableTilt: false,
|
|
|
|
wireframe: opts.wireframe,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|