Some refactoring
This commit is contained in:
parent
a51c06ae7b
commit
99f47e2961
1 changed files with 72 additions and 113 deletions
12
frontend/src/scripts/graphics/commands/before-render.ts
Normal file
12
frontend/src/scripts/graphics/commands/before-render.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { Command } from '../../commands/command';
|
||||
import { IRenderer } from '../i-renderer';
|
||||
|
||||
export class BeforeRenderCommand extends Command {
|
||||
public constructor(public readonly renderer?: IRenderer) {
|
||||
super();
|
||||
}
|
||||
|
||||
public get type(): string {
|
||||
return 'BeforeRenderCommand';
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue