fix: changed enmies to sprites
This commit is contained in:
parent
3e1b3d2b4f
commit
a1bc6aa095
|
@ -33,7 +33,7 @@ export class Entrance {
|
||||||
alt_tile: [number, number];
|
alt_tile: [number, number];
|
||||||
}
|
}
|
||||||
|
|
||||||
export class Enemy {
|
export class Sprite {
|
||||||
// Position of the enemy and chance to spawn (0, 1]
|
// Position of the enemy and chance to spawn (0, 1]
|
||||||
x: number;
|
x: number;
|
||||||
y: number;
|
y: number;
|
||||||
|
@ -48,7 +48,7 @@ export class RoomTemplate {
|
||||||
bottomLayer: Array<number>;
|
bottomLayer: Array<number>;
|
||||||
topLayer: Array<number>;
|
topLayer: Array<number>;
|
||||||
entrances: Array<Entrance>;
|
entrances: Array<Entrance>;
|
||||||
enemies?: Array<Enemy>;
|
sprites?: Array<Sprite>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class Corner {
|
export class Corner {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user