mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-15 04:45:06 +01:00
17 lines
370 B
JavaScript
17 lines
370 B
JavaScript
import {MShell} from './mshell';
|
|
import {MFace} from './mface';
|
|
|
|
export class MOpenFaceShell extends MShell {
|
|
|
|
constructor(surfacePrototype) {
|
|
super();
|
|
this.surfacePrototype = surfacePrototype;
|
|
this.faces.push(new MFace(this.id + '/SURFACE', this,
|
|
surfacePrototype.boundTo([], 100, 100)));
|
|
}
|
|
|
|
get face() {
|
|
return this.faces[0];
|
|
}
|
|
|
|
}
|