remove #name
This commit is contained in:
parent
797f31c4ab
commit
1e51b6a63b
@ -1,10 +1,8 @@
|
|||||||
export class uLayer {
|
export class uLayer {
|
||||||
#name;
|
|
||||||
#objects;
|
#objects;
|
||||||
|
|
||||||
constructor(name, objects) {
|
constructor(name, objects) {
|
||||||
// TODO: check types
|
// TODO: check types
|
||||||
this.#name = name;
|
|
||||||
this.#objects = Array();
|
this.#objects = Array();
|
||||||
|
|
||||||
objects.forEach((object) => {
|
objects.forEach((object) => {
|
||||||
@ -16,10 +14,6 @@ export class uLayer {
|
|||||||
this.#objects.push(object);
|
this.#objects.push(object);
|
||||||
}
|
}
|
||||||
|
|
||||||
getName() {
|
|
||||||
return this.#name;
|
|
||||||
}
|
|
||||||
|
|
||||||
objects() {
|
objects() {
|
||||||
return this.#objects;
|
return this.#objects;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user