decla-red/frontend/src/scripts/input/commands/primary-action.ts
2020-07-30 20:59:37 +02:00

12 lines
282 B
TypeScript

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