mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-15 12:53:52 +01:00
12 lines
No EOL
258 B
JavaScript
12 lines
No EOL
258 B
JavaScript
import {MObject} from './mobject';
|
|
|
|
export class MDatum extends MObject {
|
|
|
|
static TYPE = 'datum';
|
|
static ID_COUNTER = 0; // TODO: reset the counter
|
|
|
|
constructor(csys) {
|
|
super(MDatum.TYPE, 'D:' + (MDatum.ID_COUNTER++));
|
|
this.csys = csys;
|
|
}
|
|
} |