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

14 lines
252 B
TypeScript

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