adds seeds to code file
This commit is contained in:
parent
84c93060d0
commit
dd1210c617
7 changed files with 7 additions and 0 deletions
|
@ -10,6 +10,7 @@ export default class Circle extends CodeShape<CircleShape> {
|
||||||
|
|
||||||
super({
|
super({
|
||||||
id: uuid(),
|
id: uuid(),
|
||||||
|
seed: Math.random(),
|
||||||
type: ShapeType.Circle,
|
type: ShapeType.Circle,
|
||||||
isGenerated: true,
|
isGenerated: true,
|
||||||
name: 'Circle',
|
name: 'Circle',
|
||||||
|
|
|
@ -10,6 +10,7 @@ export default class Dot extends CodeShape<DotShape> {
|
||||||
|
|
||||||
super({
|
super({
|
||||||
id: uuid(),
|
id: uuid(),
|
||||||
|
seed: Math.random(),
|
||||||
type: ShapeType.Dot,
|
type: ShapeType.Dot,
|
||||||
isGenerated: true,
|
isGenerated: true,
|
||||||
name: 'Dot',
|
name: 'Dot',
|
||||||
|
|
|
@ -10,6 +10,7 @@ export default class Ellipse extends CodeShape<EllipseShape> {
|
||||||
|
|
||||||
super({
|
super({
|
||||||
id: uuid(),
|
id: uuid(),
|
||||||
|
seed: Math.random(),
|
||||||
type: ShapeType.Ellipse,
|
type: ShapeType.Ellipse,
|
||||||
isGenerated: true,
|
isGenerated: true,
|
||||||
name: 'Ellipse',
|
name: 'Ellipse',
|
||||||
|
|
|
@ -11,6 +11,7 @@ export default class Line extends CodeShape<LineShape> {
|
||||||
|
|
||||||
super({
|
super({
|
||||||
id: uuid(),
|
id: uuid(),
|
||||||
|
seed: Math.random(),
|
||||||
type: ShapeType.Line,
|
type: ShapeType.Line,
|
||||||
isGenerated: true,
|
isGenerated: true,
|
||||||
name: 'Line',
|
name: 'Line',
|
||||||
|
|
|
@ -11,6 +11,7 @@ export default class Polyline extends CodeShape<PolylineShape> {
|
||||||
|
|
||||||
super({
|
super({
|
||||||
id: uuid(),
|
id: uuid(),
|
||||||
|
seed: Math.random(),
|
||||||
type: ShapeType.Polyline,
|
type: ShapeType.Polyline,
|
||||||
isGenerated: true,
|
isGenerated: true,
|
||||||
name: 'Polyline',
|
name: 'Polyline',
|
||||||
|
|
|
@ -11,6 +11,7 @@ export default class Ray extends CodeShape<RayShape> {
|
||||||
|
|
||||||
super({
|
super({
|
||||||
id: uuid(),
|
id: uuid(),
|
||||||
|
seed: Math.random(),
|
||||||
type: ShapeType.Ray,
|
type: ShapeType.Ray,
|
||||||
isGenerated: true,
|
isGenerated: true,
|
||||||
name: 'Ray',
|
name: 'Ray',
|
||||||
|
|
|
@ -11,6 +11,7 @@ export default class Rectangle extends CodeShape<RectangleShape> {
|
||||||
|
|
||||||
super({
|
super({
|
||||||
id: uuid(),
|
id: uuid(),
|
||||||
|
seed: Math.random(),
|
||||||
type: ShapeType.Rectangle,
|
type: ShapeType.Rectangle,
|
||||||
isGenerated: true,
|
isGenerated: true,
|
||||||
name: 'Rectangle',
|
name: 'Rectangle',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue