Add basic tiled rendering

This commit is contained in:
schmelczerandras 2020-07-27 22:53:17 +02:00
commit edffd22c2e
2 changed files with 353 additions and 170 deletions

View 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();
}
}

View file

@ -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();
}
}