11 lines
294 B
TypeScript
11 lines
294 B
TypeScript
namespace pxsim.visuals {
|
|
mkBoardView = (opts: BoardViewOptions): BoardView => {
|
|
return new visuals.MicrobitBoardSvg({
|
|
runtime: runtime,
|
|
theme: visuals.randomTheme(),
|
|
disableTilt: false,
|
|
wireframe: opts.wireframe,
|
|
});
|
|
}
|
|
}
|