adds seeds to code file

This commit is contained in:
Steve Ruiz 2021-06-07 22:26:05 +01:00
parent 84c93060d0
commit dd1210c617
7 changed files with 7 additions and 0 deletions

View file

@ -10,6 +10,7 @@ export default class Circle extends CodeShape<CircleShape> {
super({
id: uuid(),
seed: Math.random(),
type: ShapeType.Circle,
isGenerated: true,
name: 'Circle',

View file

@ -10,6 +10,7 @@ export default class Dot extends CodeShape<DotShape> {
super({
id: uuid(),
seed: Math.random(),
type: ShapeType.Dot,
isGenerated: true,
name: 'Dot',

View file

@ -10,6 +10,7 @@ export default class Ellipse extends CodeShape<EllipseShape> {
super({
id: uuid(),
seed: Math.random(),
type: ShapeType.Ellipse,
isGenerated: true,
name: 'Ellipse',

View file

@ -11,6 +11,7 @@ export default class Line extends CodeShape<LineShape> {
super({
id: uuid(),
seed: Math.random(),
type: ShapeType.Line,
isGenerated: true,
name: 'Line',

View file

@ -11,6 +11,7 @@ export default class Polyline extends CodeShape<PolylineShape> {
super({
id: uuid(),
seed: Math.random(),
type: ShapeType.Polyline,
isGenerated: true,
name: 'Polyline',

View file

@ -11,6 +11,7 @@ export default class Ray extends CodeShape<RayShape> {
super({
id: uuid(),
seed: Math.random(),
type: ShapeType.Ray,
isGenerated: true,
name: 'Ray',

View file

@ -11,6 +11,7 @@ export default class Rectangle extends CodeShape<RectangleShape> {
super({
id: uuid(),
seed: Math.random(),
type: ShapeType.Rectangle,
isGenerated: true,
name: 'Rectangle',