remove #name
This commit is contained in:
parent
797f31c4ab
commit
1e51b6a63b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user