jsketcher/web/app/sketcher/shapes/param.js
Val Erastov (xibyte) 2fafec904c polynomial analysis
2020-01-07 00:17:20 -08:00

20 lines
No EOL
342 B
JavaScript

import {Generator} from "../id-generator";
import {Param as SolverParam} from '../constr/solver';
export class Param {
constructor(value) {
this.id = Generator.genID();
this.value = value;
this.solverParam = new SolverParam(value, this);
}
set(value) {
this.value = value;
}
get() {
return this.value;
}
}