diff --git a/objects/Field.js b/objects/Field.js deleted file mode 100644 index 1c9e19a..0000000 --- a/objects/Field.js +++ /dev/null @@ -1,14 +0,0 @@ -class Field { - constructor(x, y, isEmpty) { - this.xField = x; - this.yField = y; - this.isFieldEmpty = isEmpty; - } - getCoordinates(){ - return this.xField + this.yField; - } - - getStatus(){ - return this.isFieldEmpty; - } -} \ No newline at end of file diff --git a/objects/Product.js b/objects/Product.js deleted file mode 100644 index e8cb38b..0000000 --- a/objects/Product.js +++ /dev/null @@ -1,8 +0,0 @@ -class Product { - constructor(name, type, farcing, price) { - this.name = name; - this.type = type; - this.farcing = farcing; - this.price = price - } -} \ No newline at end of file diff --git a/objects/Rack.js b/objects/Rack.js deleted file mode 100644 index 72885d8..0000000 --- a/objects/Rack.js +++ /dev/null @@ -1,17 +0,0 @@ -class Rack{ - constructor(noOfShelf, typOfProduct) { - this.noOfShelf = noOfShelf; - } - - addShelf(){ - this.noOfShelf = this.noOfShelf + 1; - } - - isEmpty(){ - if (this.noOfShelf === 0){ - return true; - }else { - return false; - } - } -} \ No newline at end of file diff --git a/objects/Shelf.js b/objects/Shelf.js deleted file mode 100644 index 513d182..0000000 --- a/objects/Shelf.js +++ /dev/null @@ -1,5 +0,0 @@ -class Shelf { - constructor(number) { - this.number = number; - } -} \ No newline at end of file