From 1e51b6a63b7b6b66722b13b46e0fd386f919ae4a Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Thu, 6 Apr 2023 18:07:04 +0300 Subject: [PATCH] remove #name --- src/js/objects.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/js/objects.js b/src/js/objects.js index f7d0ae4..3624fdd 100644 --- a/src/js/objects.js +++ b/src/js/objects.js @@ -1,10 +1,8 @@ export class uLayer { - #name; #objects; constructor(name, objects) { // TODO: check types - this.#name = name; this.#objects = Array(); objects.forEach((object) => { @@ -16,10 +14,6 @@ export class uLayer { this.#objects.push(object); } - getName() { - return this.#name; - } - objects() { return this.#objects; }