19 lines
366 B
TypeScript
19 lines
366 B
TypeScript
// UE/UEObject.ts
|
|
|
|
import { Name } from '#root/UE/Name.ts';
|
|
|
|
export class UEObject {
|
|
protected outer: UEObject | null;
|
|
protected name: Name;
|
|
|
|
constructor(outer: UEObject | null = null, name: Name | string = Name.NONE) {
|
|
this.outer = outer;
|
|
|
|
if (name instanceof Name) {
|
|
this.name = name;
|
|
} else {
|
|
this.name = new Name(name);
|
|
}
|
|
}
|
|
}
|