decla-red/frontend/src/scripts/physics/commands/teleport-to.ts
schmelczerandras 345e183e34 WIP
2020-08-04 22:07:39 +02:00

12 lines
276 B
TypeScript

import { vec2 } from 'gl-matrix';
import { Command } from '../../commands/command';
export class TeleportToCommand extends Command {
public constructor(public readonly position?: vec2) {
super();
}
public get type(): string {
return 'TeleportToCommand';
}
}