fix: changed enmies to sprites

This commit is contained in:
Renge 2022-04-04 11:48:50 -04:00
parent 3e1b3d2b4f
commit a1bc6aa095

View File

@ -33,7 +33,7 @@ export class Entrance {
alt_tile: [number, number];
}
export class Enemy {
export class Sprite {
// Position of the enemy and chance to spawn (0, 1]
x: number;
y: number;
@ -48,7 +48,7 @@ export class RoomTemplate {
bottomLayer: Array<number>;
topLayer: Array<number>;
entrances: Array<Entrance>;
enemies?: Array<Enemy>;
sprites?: Array<Sprite>;
}
export class Corner {