21 lines
540 B
TypeScript
21 lines
540 B
TypeScript
// Content/UE/Controller.ts
|
|
|
|
import { Actor } from '/Content/UE/Actor.ts';
|
|
import { Name } from '/Content/UE/Name.ts';
|
|
import type { Rotator } from '/Content/UE/Rotator.ts';
|
|
import { UEObject } from '/Content/UE/UEObject.ts';
|
|
|
|
export class Controller extends Actor {
|
|
constructor(outer: UEObject | null = null, name: Name | string = Name.NONE) {
|
|
super(outer, name);
|
|
}
|
|
|
|
public CastToPlayerController(): Controller {
|
|
return this;
|
|
}
|
|
|
|
public SetControlRotation(newRotation: Rotator): void {
|
|
console.log(newRotation);
|
|
}
|
|
}
|