tengri/Content/UE/Actor.ts

25 lines
636 B
TypeScript

// UE/Actor.ts
import { Name } from '#root/UE/Name.ts';
import { UEObject } from '#root/UE/UEObject.ts';
import { Vector } from '#root/UE/Vector.ts';
export class Actor extends UEObject {
constructor(outer: UEObject | null = null, name: Name | string = Name.NONE) {
super(outer, name);
}
public SetActorLocation(
NewLocation: Vector = new Vector(),
Sweep: boolean = false,
Teleport: boolean = false
): void {
console.log(NewLocation, Sweep, Teleport);
// Implementation for setting actor location
}
public GetActorLocation(): Vector {
return new Vector(); // Placeholder implementation
}
}