remove #name

This commit is contained in:
Alexander Popov 2023-04-06 18:07:04 +03:00
parent 797f31c4ab
commit 1e51b6a63b
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6

View File

@ -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;
}