feat: add MapTemplate

This commit is contained in:
Renge 2022-04-02 12:33:48 -04:00
parent 4c89d53483
commit 735754af56

View File

@ -0,0 +1,15 @@
export default class MapTemplate {
tilewidth: number;
tileheight: number;
entrance: RoomTemplate;
exit: RoomTemplate;
rooms: Array<RoomTemplate>;
}
export class RoomTemplate {
width: number;
height: number;
bottomLayer: Array<number>;
topLayer: Array<number>;
entrances: Array<[x: number, y: number]>
}