Files
tower/ts/tile_factory.ts
2021-05-11 05:17:16 +00:00

18 lines
361 B
TypeScript

import { Tile } from './tile.js';
export abstract class TileFactory {
layer_name: string;
width: number;
height: number;
constructor(layer_name: string, width: number, height: number) {
this.layer_name = layer_name;
this.width = width;
this.height = height;
}
abstract build(tileset: string): Tile;
abstract copy(): TileFactory;
}