12 lines
282 B
TypeScript
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';
|
|
}
|
|
}
|