Add basic tiled rendering
This commit is contained in:
parent
854e5a55a1
commit
edffd22c2e
2 changed files with 353 additions and 170 deletions
8
frontend/src/scripts/commands/types/before-render.ts
Normal file
8
frontend/src/scripts/commands/types/before-render.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { IRenderer } from '../../drawing/i-renderer';
|
||||
import { Command } from '../command';
|
||||
|
||||
export class BeforeRenderCommand extends Command {
|
||||
public constructor(public readonly renderer?: IRenderer) {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
import { IRenderer } from '../../drawing/i-renderer';
|
||||
import { Command } from '../command';
|
||||
|
||||
export class DrawCommand extends Command {
|
||||
public constructor(public readonly drawer?: IRenderer) {
|
||||
export class RenderCommand extends Command {
|
||||
public constructor(public readonly renderer?: IRenderer) {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue