Remove clutter
This commit is contained in:
parent
78b1d648ee
commit
c21025caf6
13 changed files with 39 additions and 62 deletions
12
frontend/src/scripts/commands/teleport-to.ts
Normal file
12
frontend/src/scripts/commands/teleport-to.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { vec2 } from 'gl-matrix';
|
||||
import { Command } from './command';
|
||||
|
||||
export class TeleportToCommand extends Command {
|
||||
public constructor(public readonly position?: vec2) {
|
||||
super();
|
||||
}
|
||||
|
||||
public get type(): string {
|
||||
return 'TeleportToCommand';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue