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({
|
||||
id: uuid(),
|
||||
seed: Math.random(),
|
||||
type: ShapeType.Circle,
|
||||
isGenerated: true,
|
||||
name: 'Circle',
|
||||
|
|
|
@ -10,6 +10,7 @@ export default class Dot extends CodeShape<DotShape> {
|
|||
|
||||
super({
|
||||
id: uuid(),
|
||||
seed: Math.random(),
|
||||
type: ShapeType.Dot,
|
||||
isGenerated: true,
|
||||
name: 'Dot',
|
||||
|
|
|
@ -10,6 +10,7 @@ export default class Ellipse extends CodeShape<EllipseShape> {
|
|||
|
||||
super({
|
||||
id: uuid(),
|
||||
seed: Math.random(),
|
||||
type: ShapeType.Ellipse,
|
||||
isGenerated: true,
|
||||
name: 'Ellipse',
|
||||
|
|
|
@ -11,6 +11,7 @@ export default class Line extends CodeShape<LineShape> {
|
|||
|
||||
super({
|
||||
id: uuid(),
|
||||
seed: Math.random(),
|
||||
type: ShapeType.Line,
|
||||
isGenerated: true,
|
||||
name: 'Line',
|
||||
|
|
|
@ -11,6 +11,7 @@ export default class Polyline extends CodeShape<PolylineShape> {
|
|||
|
||||
super({
|
||||
id: uuid(),
|
||||
seed: Math.random(),
|
||||
type: ShapeType.Polyline,
|
||||
isGenerated: true,
|
||||
name: 'Polyline',
|
||||
|
|
|
@ -11,6 +11,7 @@ export default class Ray extends CodeShape<RayShape> {
|
|||
|
||||
super({
|
||||
id: uuid(),
|
||||
seed: Math.random(),
|
||||
type: ShapeType.Ray,
|
||||
isGenerated: true,
|
||||
name: 'Ray',
|
||||
|
|
|
@ -11,6 +11,7 @@ export default class Rectangle extends CodeShape<RectangleShape> {
|
|||
|
||||
super({
|
||||
id: uuid(),
|
||||
seed: Math.random(),
|
||||
type: ShapeType.Rectangle,
|
||||
isGenerated: true,
|
||||
name: 'Rectangle',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue