acabada la migracio de .ani a .yaml

This commit is contained in:
2025-11-17 13:49:42 +01:00
parent 0c9becae4c
commit d185a5e72a
60 changed files with 199 additions and 237 deletions

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: jailer_#1.ani
- animation: jailer_#1.yaml
position: {x: 1, y: 13}
velocity: {x: 0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 13
color: white
- animation: jailer_#3.ani
- animation: jailer_#3.yaml
position: {x: 4, y: 13}
velocity: {x: 0, y: 0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 13
color: white
- animation: jailer_#1.ani
- animation: jailer_#1.yaml
position: {x: 7, y: 13}
velocity: {x: 0, y: 0}
boundaries:
@@ -72,7 +72,7 @@ enemies:
y2: 13
color: white
- animation: jailer_#2.ani
- animation: jailer_#2.yaml
position: {x: 10, y: 13}
velocity: {x: 0, y: 0}
boundaries:
@@ -82,7 +82,7 @@ enemies:
y2: 13
color: white
- animation: jailer_#1.ani
- animation: jailer_#1.yaml
position: {x: 13, y: 13}
velocity: {x: 0, y: 0}
boundaries:
@@ -92,7 +92,7 @@ enemies:
y2: 13
color: white
- animation: elsa.ani
- animation: elsa.yaml
position: {x: 3, y: 9}
velocity: {x: 0, y: 0}
boundaries:
@@ -102,7 +102,7 @@ enemies:
y2: 9
color: white
- animation: elsa.ani
- animation: elsa.yaml
position: {x: 6, y: 9}
velocity: {x: 0, y: 0}
boundaries:
@@ -112,7 +112,7 @@ enemies:
y2: 9
color: white
- animation: lamp.ani
- animation: lamp.yaml
position: {x: 23, y: 6}
velocity: {x: 0, y: 0}
boundaries:
@@ -122,7 +122,7 @@ enemies:
y2: 6
color: white
- animation: bry.ani
- animation: bry.yaml
position: {x: 17, y: 13}
velocity: {x: 0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: bin.ani
- animation: bin.yaml
position: {x: 4, y: 7}
velocity: {x: 36.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 7
color: green
- animation: upv_student.ani
- animation: upv_student.yaml
position: {x: 4, y: 13}
velocity: {x: 36.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: code.ani
- animation: code.yaml
position: {x: 3, y: 2}
velocity: {x: 24.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: chip.ani
- animation: chip.yaml
position: {x: 24, y: 12}
velocity: {x: 18.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 12
color: magenta
- animation: chip.ani
- animation: chip.yaml
position: {x: 4, y: 2}
velocity: {x: 0, y: 24.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: floppy.ani
- animation: floppy.yaml
position: {x: 15, y: 4}
velocity: {x: 0, y: 48.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 11
color: magenta
- animation: congo.ani
- animation: congo.yaml
position: {x: 21, y: 12}
velocity: {x: 24.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: abad.ani
- animation: abad.yaml
position: {x: 1, y: 13}
velocity: {x: 48.0, y: 0}
boundaries:
@@ -53,7 +53,7 @@ enemies:
color: yellow
flip: true
- animation: spider.ani
- animation: spider.yaml
position: {x: 24, y: 4}
velocity: {x: 0, y: 48.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: sigmasua.ani
- animation: sigmasua.yaml
position: {x: 15, y: 7}
velocity: {x: 48.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 7
color: cyan
- animation: sigmasua.ani
- animation: sigmasua.yaml
position: {x: 15, y: 4}
velocity: {x: -30.0, y: 0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 4
color: blue
- animation: sigmasua.ani
- animation: sigmasua.yaml
position: {x: 3, y: 8}
velocity: {x: 0, y: 24.0}
boundaries:
@@ -72,7 +72,7 @@ enemies:
y2: 13
color: bright_red
- animation: sigmasua.ani
- animation: sigmasua.yaml
position: {x: 27, y: 8}
velocity: {x: 0, y: -24.0}
boundaries:
@@ -82,7 +82,7 @@ enemies:
y2: 13
color: yellow
- animation: sigmasua.ani
- animation: sigmasua.yaml
position: {x: 12, y: 10}
velocity: {x: 0, y: 18.0}
boundaries:
@@ -92,7 +92,7 @@ enemies:
y2: 13
color: bright_magenta
- animation: sigmasua.ani
- animation: sigmasua.yaml
position: {x: 17, y: 13}
velocity: {x: 0, y: -18.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: abad.ani
- animation: abad.yaml
position: {x: 4, y: 13}
velocity: {x: 24.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: congo.ani
- animation: congo.yaml
position: {x: 10, y: 12}
velocity: {x: 24.0, y: 0}
boundaries:
@@ -53,7 +53,7 @@ enemies:
color: yellow
flip: true
- animation: congo.ani
- animation: congo.yaml
position: {x: 12, y: 6}
velocity: {x: 36.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: lamp.ani
- animation: lamp.yaml
position: {x: 7, y: 10}
velocity: {x: 0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 10
color: magenta
- animation: lamp.ani
- animation: lamp.yaml
position: {x: 21, y: 10}
velocity: {x: 0, y: 0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 10
color: magenta
- animation: bin.ani
- animation: bin.yaml
position: {x: 12, y: 14}
velocity: {x: 48.0, y: 0}
boundaries:
@@ -72,7 +72,7 @@ enemies:
y2: 14
color: green
- animation: wave.ani
- animation: wave.yaml
position: {x: 7, y: 6}
velocity: {x: 30.0, y: 0}
boundaries:
@@ -82,7 +82,7 @@ enemies:
y2: 6
color: green
- animation: wave.ani
- animation: wave.yaml
position: {x: 23, y: 6}
velocity: {x: -30.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: floppy.ani
- animation: floppy.yaml
position: {x: 9, y: 10}
velocity: {x: 36.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 10
color: green
- animation: floppy.ani
- animation: floppy.yaml
position: {x: 1, y: 0}
velocity: {x: 0, y: 30.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: matatunos.ani
- animation: matatunos.yaml
position: {x: 5, y: 1}
velocity: {x: 0, y: 60.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 13
color: bright_blue
- animation: tuno.ani
- animation: tuno.yaml
position: {x: 12, y: 4}
velocity: {x: 0, y: 66.0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 13
color: red
- animation: tuno.ani
- animation: tuno.yaml
position: {x: 19, y: 7}
velocity: {x: 0, y: 54.0}
boundaries:
@@ -72,7 +72,7 @@ enemies:
y2: 13
color: yellow
- animation: tuno.ani
- animation: tuno.yaml
position: {x: 26, y: 11}
velocity: {x: 0, y: 42.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: matatunos.ani
- animation: matatunos.yaml
position: {x: 6, y: 5}
velocity: {x: 18.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 5
color: bright_green
- animation: tuno.ani
- animation: tuno.yaml
position: {x: 21, y: 2}
velocity: {x: 0, y: 24.0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 13
color: red
- animation: tuno.ani
- animation: tuno.yaml
position: {x: 28, y: 6}
velocity: {x: 0, y: -24.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: batman.ani
- animation: batman.yaml
position: {x: 17, y: 13}
velocity: {x: 48.0, y: 0}
boundaries:
@@ -53,7 +53,7 @@ enemies:
color: white
flip: true
- animation: bat.ani
- animation: bat.yaml
position: {x: 14, y: 2}
velocity: {x: 30.0, y: 0}
boundaries:
@@ -63,7 +63,7 @@ enemies:
y2: 2
color: bright_blue
- animation: bat.ani
- animation: bat.yaml
position: {x: 10, y: 10}
velocity: {x: 30.0, y: 0}
boundaries:
@@ -73,7 +73,7 @@ enemies:
y2: 10
color: cyan
- animation: bat.ani
- animation: bat.yaml
position: {x: 15, y: 1}
velocity: {x: 0, y: 42.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: chip.ani
- animation: chip.yaml
position: {x: 7, y: 3}
velocity: {x: 60.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 3
color: magenta
- animation: chip.ani
- animation: chip.yaml
position: {x: 30, y: 7}
velocity: {x: -48.0, y: 0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 7
color: bright_white
- animation: wave.ani
- animation: wave.yaml
position: {x: 15, y: 12}
velocity: {x: 30.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: floppy.ani
- animation: floppy.yaml
position: {x: 5, y: 6}
velocity: {x: 0, y: 24.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 10
color: green
- animation: floppy.ani
- animation: floppy.yaml
position: {x: 12, y: 3}
velocity: {x: 0, y: 24.0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 9
color: cyan
- animation: chip.ani
- animation: chip.yaml
position: {x: 8, y: 13}
velocity: {x: 24.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: code.ani
- animation: code.yaml
position: {x: 19, y: 6}
velocity: {x: 24.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 6
color: magenta
- animation: spider.ani
- animation: spider.yaml
position: {x: 14, y: 10}
velocity: {x: 36.0, y: 0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 10
color: yellow
- animation: spider.ani
- animation: spider.yaml
position: {x: 23, y: 12}
velocity: {x: 36.0, y: 0}
boundaries:
@@ -73,7 +73,7 @@ enemies:
color: magenta
mirror: true
- animation: lamp.ani
- animation: lamp.yaml
position: {x: 19, y: 1}
velocity: {x: 0, y: 0}
boundaries:
@@ -83,7 +83,7 @@ enemies:
y2: 1
color: yellow
- animation: lamp.ani
- animation: lamp.yaml
position: {x: 26, y: 1}
velocity: {x: 0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: batman.ani
- animation: batman.yaml
position: {x: 10, y: 13}
velocity: {x: 48.0, y: 0}
boundaries:
@@ -53,7 +53,7 @@ enemies:
color: bright_cyan
flip: true
- animation: spider.ani
- animation: spider.yaml
position: {x: 0, y: 1}
velocity: {x: 36.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: bin.ani
- animation: bin.yaml
position: {x: 8, y: 12}
velocity: {x: 60.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 12
color: green
- animation: code.ani
- animation: code.yaml
position: {x: 13, y: 2}
velocity: {x: 0, y: 30.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: mummy.ani
- animation: mummy.yaml
position: {x: 13, y: 13}
velocity: {x: 18.0, y: 0}
boundaries:
@@ -53,7 +53,7 @@ enemies:
color: yellow
flip: true
- animation: spider.ani
- animation: spider.yaml
position: {x: 13, y: 9}
velocity: {x: 36.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: mummy.ani
- animation: mummy.yaml
position: {x: 15, y: 13}
velocity: {x: 18.0, y: 0}
boundaries:
@@ -53,7 +53,7 @@ enemies:
color: yellow
flip: true
- animation: mummy.ani
- animation: mummy.yaml
position: {x: 13, y: 8}
velocity: {x: 18.0, y: 0}
boundaries:
@@ -64,7 +64,7 @@ enemies:
color: bright_yellow
flip: true
- animation: mummy.ani
- animation: mummy.yaml
position: {x: 22, y: 8}
velocity: {x: 24.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: shock.ani
- animation: shock.yaml
position: {x: 7, y: 7}
velocity: {x: 0, y: 48.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 14
color: magenta
- animation: shock.ani
- animation: shock.yaml
position: {x: 20, y: 10}
velocity: {x: 0, y: 48.0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 14
color: magenta
- animation: shock.ani
- animation: shock.yaml
position: {x: 27, y: 10}
velocity: {x: 0, y: -48.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: sam.ani
- animation: sam.yaml
position: {x: 4, y: 2}
velocity: {x: 0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 2
color: white
- animation: shock.ani
- animation: shock.yaml
position: {x: 5, y: 11}
velocity: {x: 0, y: 30.0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 14
color: bright_green
- animation: spider.ani
- animation: spider.yaml
position: {x: 25, y: 1}
velocity: {x: 0, y: 30.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: batman_bell.ani
- animation: batman_bell.yaml
position: {x: 28, y: 13}
velocity: {x: 0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 13
color: cyan
- animation: bell.ani
- animation: bell.yaml
position: {x: 28, y: 10}
velocity: {x: 0, y: 0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 10
color: cyan
- animation: bell.ani
- animation: bell.yaml
position: {x: 6, y: 2}
velocity: {x: 0, y: 0}
boundaries:
@@ -72,7 +72,7 @@ enemies:
y2: 2
color: cyan
- animation: dong.ani
- animation: dong.yaml
position: {x: 6, y: 4}
velocity: {x: 0, y: 24.0}
boundaries:
@@ -82,7 +82,7 @@ enemies:
y2: 13
color: cyan
- animation: bell.ani
- animation: bell.yaml
position: {x: 20, y: 2}
velocity: {x: 0, y: 0}
boundaries:
@@ -92,7 +92,7 @@ enemies:
y2: 2
color: cyan
- animation: dong.ani
- animation: dong.yaml
position: {x: 20, y: 13}
velocity: {x: 0, y: -30.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: batman_bell.ani
- animation: batman_bell.yaml
position: {x: 1, y: 13}
velocity: {x: 0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 13
color: cyan
- animation: abad_bell.ani
- animation: abad_bell.yaml
position: {x: 29, y: 13}
velocity: {x: 0, y: 0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 13
color: cyan
- animation: bell.ani
- animation: bell.yaml
position: {x: 1, y: 4}
velocity: {x: 36.0, y: 0}
boundaries:
@@ -72,7 +72,7 @@ enemies:
y2: 4
color: yellow
- animation: dong.ani
- animation: dong.yaml
position: {x: 1, y: 2}
velocity: {x: 0, y: 0}
boundaries:
@@ -82,7 +82,7 @@ enemies:
y2: 2
color: yellow
- animation: bell.ani
- animation: bell.yaml
position: {x: 26, y: 7}
velocity: {x: -36.0, y: 0}
boundaries:
@@ -92,7 +92,7 @@ enemies:
y2: 7
color: yellow
- animation: dong.ani
- animation: dong.yaml
position: {x: 28, y: 2}
velocity: {x: -0, y: 0}
boundaries:
@@ -102,7 +102,7 @@ enemies:
y2: 2
color: yellow
- animation: bell.ani
- animation: bell.yaml
position: {x: 1, y: 10}
velocity: {x: 36.0, y: 0}
boundaries:
@@ -112,7 +112,7 @@ enemies:
y2: 10
color: yellow
- animation: bell.ani
- animation: bell.yaml
position: {x: 26, y: 13}
velocity: {x: -36.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: lord_abad.ani
- animation: lord_abad.yaml
position: {x: 0, y: 5}
velocity: {x: 0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: qvoid.ani
- animation: qvoid.yaml
position: {x: 7, y: 1}
velocity: {x: 0, y: 48.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 13
color: magenta
- animation: qvoid.ani
- animation: qvoid.yaml
position: {x: 12, y: 6}
velocity: {x: 0, y: 36.0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 13
color: green
- animation: qvoid.ani
- animation: qvoid.yaml
position: {x: 17, y: 8}
velocity: {x: 0, y: 54.0}
boundaries:
@@ -72,7 +72,7 @@ enemies:
y2: 13
color: green
- animation: qvoid.ani
- animation: qvoid.yaml
position: {x: 22, y: 10}
velocity: {x: 0, y: 42.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: qvoid.ani
- animation: qvoid.yaml
position: {x: 1, y: 1}
velocity: {x: 42.0, y: 0}
boundaries:
@@ -53,7 +53,7 @@ enemies:
color: white
flip: true
- animation: qvoid.ani
- animation: qvoid.yaml
position: {x: 29, y: 1}
velocity: {x: -42.0, y: 0}
boundaries:
@@ -64,7 +64,7 @@ enemies:
color: red
flip: true
- animation: qvoid.ani
- animation: qvoid.yaml
position: {x: 6, y: 7}
velocity: {x: -30.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: guitar.ani
- animation: guitar.yaml
position: {x: 13, y: 5}
velocity: {x: 0, y: 36.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 13
color: magenta
- animation: sigmasua.ani
- animation: sigmasua.yaml
position: {x: 24, y: 2}
velocity: {x: 0, y: 36.0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 9
color: red
- animation: paco.ani
- animation: paco.yaml
position: {x: 6, y: 2}
velocity: {x: 0, y: 36.0}
boundaries:
@@ -72,7 +72,7 @@ enemies:
y2: 8
color: yellow
- animation: chip.ani
- animation: chip.yaml
position: {x: 15, y: 9}
velocity: {x: 36.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: tree_thing.ani
- animation: tree_thing.yaml
position: {x: 23, y: 4}
velocity: {x: 0, y: 24.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 13
color: yellow
- animation: shooting_star.ani
- animation: shooting_star.yaml
position: {x: 10, y: 2}
velocity: {x: 0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: pepe_rosita_job.ani
- animation: pepe_rosita_job.yaml
position: {x: 2, y: 2}
velocity: {x: 0, y: 3.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 3
color: white
- animation: aerojailer.ani
- animation: aerojailer.yaml
position: {x: 14, y: 5}
velocity: {x: 0, y: -2.4}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 6
color: white
- animation: arounder.ani
- animation: arounder.yaml
position: {x: 22, y: 5}
velocity: {x: 0, y: 1.8}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: floppy.ani
- animation: floppy.yaml
position: {x: 20, y: 1}
velocity: {x: 0, y: 48.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 13
color: cyan
- animation: spark.ani
- animation: spark.yaml
position: {x: 11, y: 4}
velocity: {x: 30.0, y: 0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 4
color: cyan
- animation: spark.ani
- animation: spark.yaml
position: {x: 1, y: 1}
velocity: {x: 60.0, y: 0}
boundaries:
@@ -73,7 +73,7 @@ enemies:
color: yellow
mirror: true
- animation: wave.ani
- animation: wave.yaml
position: {x: 1, y: 6}
velocity: {x: 30.0, y: 0}
boundaries:
@@ -83,7 +83,7 @@ enemies:
y2: 6
color: yellow
- animation: wave.ani
- animation: wave.yaml
position: {x: 17, y: 8}
velocity: {x: 54.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: jeannine.ani
- animation: jeannine.yaml
position: {x: 6, y: 13}
velocity: {x: 30.0, y: 0}
boundaries:
@@ -53,7 +53,7 @@ enemies:
color: yellow
flip: true
- animation: jeannine.ani
- animation: jeannine.yaml
position: {x: 16, y: 13}
velocity: {x: 24.0, y: 0}
boundaries:
@@ -64,7 +64,7 @@ enemies:
color: cyan
flip: true
- animation: jeannine.ani
- animation: jeannine.yaml
position: {x: 7, y: 9}
velocity: {x: 36.0, y: 0}
boundaries:
@@ -75,7 +75,7 @@ enemies:
color: red
flip: true
- animation: jeannine.ani
- animation: jeannine.yaml
position: {x: 16, y: 9}
velocity: {x: 24.0, y: 0}
boundaries:
@@ -86,7 +86,7 @@ enemies:
color: white
flip: true
- animation: jeannine.ani
- animation: jeannine.yaml
position: {x: 5, y: 5}
velocity: {x: 30.0, y: 0}
boundaries:
@@ -97,7 +97,7 @@ enemies:
color: green
flip: true
- animation: chip.ani
- animation: chip.yaml
position: {x: 16, y: 5}
velocity: {x: 24.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: spark.ani
- animation: spark.yaml
position: {x: 6, y: 13}
velocity: {x: 24.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 13
color: yellow
- animation: spark.ani
- animation: spark.yaml
position: {x: 21, y: 13}
velocity: {x: 24.0, y: 0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 13
color: yellow
- animation: spark.ani
- animation: spark.yaml
position: {x: 2, y: 10}
velocity: {x: 24.0, y: 0}
boundaries:
@@ -73,7 +73,7 @@ enemies:
color: yellow
mirror: true
- animation: spark.ani
- animation: spark.yaml
position: {x: 17, y: 10}
velocity: {x: 24.0, y: 0}
boundaries:
@@ -84,7 +84,7 @@ enemies:
color: yellow
mirror: true
- animation: shock.ani
- animation: shock.yaml
position: {x: 13, y: 2}
velocity: {x: 0, y: 24.0}
boundaries:
@@ -94,7 +94,7 @@ enemies:
y2: 7
color: bright_yellow
- animation: shock.ani
- animation: shock.yaml
position: {x: 10, y: 4}
velocity: {x: 0, y: 30.0}
boundaries:
@@ -104,7 +104,7 @@ enemies:
y2: 7
color: bright_yellow
- animation: shock.ani
- animation: shock.yaml
position: {x: 7, y: 6}
velocity: {x: 0, y: 36.0}
boundaries:
@@ -114,7 +114,7 @@ enemies:
y2: 7
color: bright_yellow
- animation: shock.ani
- animation: shock.yaml
position: {x: 24, y: 2}
velocity: {x: 0, y: 24.0}
boundaries:
@@ -124,7 +124,7 @@ enemies:
y2: 7
color: bright_yellow
- animation: shock.ani
- animation: shock.yaml
position: {x: 21, y: 4}
velocity: {x: 0, y: 30.0}
boundaries:
@@ -134,7 +134,7 @@ enemies:
y2: 7
color: bright_yellow
- animation: shock.ani
- animation: shock.yaml
position: {x: 18, y: 6}
velocity: {x: 0, y: 36.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: z80.ani
- animation: z80.yaml
position: {x: 15, y: 1}
velocity: {x: 0, y: 18.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 10
color: bright_green
- animation: chip.ani
- animation: chip.yaml
position: {x: 1, y: 8}
velocity: {x: 18.0, y: 0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 8
color: bright_green
- animation: chip.ani
- animation: chip.yaml
position: {x: 28, y: 8}
velocity: {x: 18.0, y: 0}
boundaries:
@@ -72,7 +72,7 @@ enemies:
y2: 8
color: bright_green
- animation: shock.ani
- animation: shock.yaml
position: {x: 8, y: 1}
velocity: {x: 0, y: 60.0}
boundaries:
@@ -82,7 +82,7 @@ enemies:
y2: 14
color: bright_green
- animation: shock.ani
- animation: shock.yaml
position: {x: 23, y: 7}
velocity: {x: 0, y: 60.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: stopped_arounder.ani
- animation: stopped_arounder.yaml
position: {x: 9, y: 11}
velocity: {x: 0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 11
color: white
- animation: stopped_arounder.ani
- animation: stopped_arounder.yaml
position: {x: 18, y: 11}
velocity: {x: 0, y: 0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 11
color: white
- animation: walking_arounder.ani
- animation: walking_arounder.yaml
position: {x: 12, y: 1}
velocity: {x: 30.0, y: 0}
boundaries:
@@ -73,7 +73,7 @@ enemies:
color: white
flip: true
- animation: arounders_door.ani
- animation: arounders_door.yaml
position: {x: 9, y: 0}
velocity: {x: 0, y: 0}
boundaries:
@@ -84,7 +84,7 @@ enemies:
color: yellow
flip: true
- animation: flying_arounder.ani
- animation: flying_arounder.yaml
position: {x: 3, y: 1}
velocity: {x: 0, y: 42.0}
boundaries:
@@ -95,7 +95,7 @@ enemies:
color: white
flip: true
- animation: mummy.ani
- animation: mummy.yaml
position: {x: 12, y: 10}
velocity: {x: 12.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: arounders_door.ani
- animation: arounders_door.yaml
position: {x: 3, y: 1}
velocity: {x: 0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 1
color: white
- animation: flying_arounder.ani
- animation: flying_arounder.yaml
position: {x: 9, y: 1}
velocity: {x: 0, y: 42.0}
boundaries:
@@ -63,7 +63,7 @@ enemies:
color: white
flip: true
- animation: flying_arounder.ani
- animation: flying_arounder.yaml
position: {x: 15, y: 0}
velocity: {x: 0, y: 42.0}
boundaries:
@@ -74,7 +74,7 @@ enemies:
color: white
flip: true
- animation: flying_arounder.ani
- animation: flying_arounder.yaml
position: {x: 22, y: 10}
velocity: {x: 0, y: 42.0}
boundaries:
@@ -85,7 +85,7 @@ enemies:
color: white
flip: true
- animation: flying_arounder.ani
- animation: flying_arounder.yaml
position: {x: 16, y: 5}
velocity: {x: 0, y: 42.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: arounders_machine.ani
- animation: arounders_machine.yaml
position: {x: 7, y: 1}
velocity: {x: 0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 1
color: red
- animation: walking_arounder.ani
- animation: walking_arounder.yaml
position: {x: 10, y: 12}
velocity: {x: 24.0, y: 0}
boundaries:
@@ -63,7 +63,7 @@ enemies:
color: white
flip: true
- animation: walking_arounder.ani
- animation: walking_arounder.yaml
position: {x: 15, y: 12}
velocity: {x: 24.0, y: 0}
boundaries:
@@ -74,7 +74,7 @@ enemies:
color: green
flip: true
- animation: walking_arounder.ani
- animation: walking_arounder.yaml
position: {x: 20, y: 12}
velocity: {x: 24.0, y: 0}
boundaries:
@@ -85,7 +85,7 @@ enemies:
color: yellow
flip: true
- animation: walking_arounder.ani
- animation: walking_arounder.yaml
position: {x: 14, y: 2}
velocity: {x: 24.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: arounders_door.ani
- animation: arounders_door.yaml
position: {x: 6, y: 2}
velocity: {x: 0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 2
color: bright_cyan
- animation: stopped_arounder.ani
- animation: stopped_arounder.yaml
position: {x: 8, y: 12}
velocity: {x: 0, y: 0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 12
color: bright_cyan
- animation: stopped_arounder.ani
- animation: stopped_arounder.yaml
position: {x: 11, y: 3}
velocity: {x: 0, y: 0}
boundaries:
@@ -72,7 +72,7 @@ enemies:
y2: 3
color: bright_cyan
- animation: stopped_arounder.ani
- animation: stopped_arounder.yaml
position: {x: 24, y: 12}
velocity: {x: 0, y: 0}
boundaries:
@@ -82,7 +82,7 @@ enemies:
y2: 12
color: bright_cyan
- animation: walking_arounder.ani
- animation: walking_arounder.yaml
position: {x: 12, y: 12}
velocity: {x: 18.0, y: 0}
boundaries:
@@ -93,7 +93,7 @@ enemies:
color: bright_cyan
flip: true
- animation: walking_arounder.ani
- animation: walking_arounder.yaml
position: {x: 14, y: 12}
velocity: {x: -24.0, y: 0}
boundaries:
@@ -104,7 +104,7 @@ enemies:
color: bright_cyan
flip: true
- animation: walking_arounder.ani
- animation: walking_arounder.yaml
position: {x: 14, y: 6}
velocity: {x: -24.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: paco.ani
- animation: paco.yaml
position: {x: 10, y: 2}
velocity: {x: 0, y: 30.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 11
color: magenta
- animation: abad.ani
- animation: abad.yaml
position: {x: 15, y: 13}
velocity: {x: 48.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: spider.ani
- animation: spider.yaml
position: {x: 20, y: 5}
velocity: {x: 18.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 5
color: cyan
- animation: spider.ani
- animation: spider.yaml
position: {x: 22, y: 11}
velocity: {x: 18.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: congo.ani
- animation: congo.yaml
position: {x: 2, y: 4}
velocity: {x: 30.0, y: 0}
boundaries:
@@ -53,7 +53,7 @@ enemies:
color: green
flip: true
- animation: crosshair.ani
- animation: crosshair.yaml
position: {x: 23, y: 4}
velocity: {x: 0, y: 48.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: chip.ani
- animation: chip.yaml
position: {x: 4, y: 5}
velocity: {x: 0, y: 60.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 13
color: green
- animation: chip.ani
- animation: chip.yaml
position: {x: 10, y: 4}
velocity: {x: 0, y: 60.0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 13
color: bright_blue
- animation: chip.ani
- animation: chip.yaml
position: {x: 16, y: 3}
velocity: {x: 0, y: 60.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: batman_fire.ani
- animation: batman_fire.yaml
position: {x: 10, y: 13}
velocity: {x: 78.0, y: 0}
boundaries:
@@ -53,7 +53,7 @@ enemies:
color: cyan
flip: true
- animation: heavy.ani
- animation: heavy.yaml
position: {x: 11, y: 7}
velocity: {x: 0, y: 30.0}
boundaries:
@@ -63,7 +63,7 @@ enemies:
y2: 12
color: green
- animation: heavy.ani
- animation: heavy.yaml
position: {x: 18, y: 2}
velocity: {x: 0, y: 48.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: jailbattle_alien.ani
- animation: jailbattle_alien.yaml
position: {x: 10, y: 3}
velocity: {x: 48.0, y: 0}
boundaries:
@@ -53,7 +53,7 @@ enemies:
color: green
flip: true
- animation: jailbattle_alien.ani
- animation: jailbattle_alien.yaml
position: {x: 25, y: 4}
velocity: {x: 0, y: 48.0}
boundaries:
@@ -64,7 +64,7 @@ enemies:
color: yellow
flip: true
- animation: jailbattle_human.ani
- animation: jailbattle_human.yaml
position: {x: 7, y: 6}
velocity: {x: 0, y: 30.0}
boundaries:
@@ -75,7 +75,7 @@ enemies:
color: red
flip: true
- animation: jailbattle_human.ani
- animation: jailbattle_human.yaml
position: {x: 18, y: 13}
velocity: {x: 30.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: jailbattle_human.ani
- animation: jailbattle_human.yaml
position: {x: 17, y: 6}
velocity: {x: 30.0, y: 0}
boundaries:
@@ -53,7 +53,7 @@ enemies:
color: white
flip: true
- animation: jailbattle_human.ani
- animation: jailbattle_human.yaml
position: {x: 2, y: 13}
velocity: {x: 36.0, y: 0}
boundaries:
@@ -64,7 +64,7 @@ enemies:
color: white
flip: true
- animation: jailbattle_alien.ani
- animation: jailbattle_alien.yaml
position: {x: 24, y: 10}
velocity: {x: 0, y: 30.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: robot.ani
- animation: robot.yaml
position: {x: 10, y: 8}
velocity: {x: 42.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: floppy.ani
- animation: floppy.yaml
position: {x: 7, y: 2}
velocity: {x: 0, y: 30.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 12
color: magenta
- animation: floppy.ani
- animation: floppy.yaml
position: {x: 20, y: 6}
velocity: {x: 0, y: 30.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: amstrad_cs.ani
- animation: amstrad_cs.yaml
position: {x: 1, y: 6}
velocity: {x: 72.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 6
color: white
- animation: amstrad_cs.ani
- animation: amstrad_cs.yaml
position: {x: 19, y: 1}
velocity: {x: 0, y: 72.0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 14
color: yellow
- animation: amstrad_cs.ani
- animation: amstrad_cs.yaml
position: {x: 5, y: 6}
velocity: {x: 0, y: 72.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: breakout.ani
- animation: breakout.yaml
position: {x: 1, y: 6}
velocity: {x: 132.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: paco.ani
- animation: paco.yaml
position: {x: 6, y: 6}
velocity: {x: 18.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 6
color: yellow
- animation: paco.ani
- animation: paco.yaml
position: {x: 16, y: 2}
velocity: {x: 0, y: 48.0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 13
color: bright_red
- animation: wave.ani
- animation: wave.yaml
position: {x: 1, y: 10}
velocity: {x: 24.0, y: 0}
boundaries:
@@ -72,7 +72,7 @@ enemies:
y2: 10
color: bright_yellow
- animation: lamp.ani
- animation: lamp.yaml
position: {x: 22, y: 2}
velocity: {x: 0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: spider.ani
- animation: spider.yaml
position: {x: 2, y: 14}
velocity: {x: 30.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 14
color: magenta
- animation: spider.ani
- animation: spider.yaml
position: {x: 10, y: 1}
velocity: {x: 0, y: 60.0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 6
color: yellow
- animation: spider.ani
- animation: spider.yaml
position: {x: 7, y: 11}
velocity: {x: 18.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: dimallas.ani
- animation: dimallas.yaml
position: {x: 15, y: 13}
velocity: {x: 36.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 13
color: cyan
- animation: guitar.ani
- animation: guitar.yaml
position: {x: 16, y: 4}
velocity: {x: 0, y: 18.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: demon.ani
- animation: demon.yaml
position: {x: 12, y: 3}
velocity: {x: 0, y: 30.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 12
color: red
- animation: demon.ani
- animation: demon.yaml
position: {x: 18, y: 5}
velocity: {x: 0, y: 30.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: dimallas.ani
- animation: dimallas.yaml
position: {x: 13, y: 12}
velocity: {x: 54.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 12
color: green
- animation: heavy.ani
- animation: heavy.yaml
position: {x: 17, y: 5}
velocity: {x: 0, y: 36.0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 10
color: white
- animation: heavy.ani
- animation: heavy.yaml
position: {x: 10, y: 8}
velocity: {x: 0, y: 36.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: bird.ani
- animation: bird.yaml
position: {x: 4, y: 2}
velocity: {x: 0, y: 30.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 12
color: yellow
- animation: bird.ani
- animation: bird.yaml
position: {x: 9, y: 11}
velocity: {x: 0, y: -30.0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 10
color: green
- animation: bird.ani
- animation: bird.yaml
position: {x: 26, y: 5}
velocity: {x: 0, y: -30.0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: wave.ani
- animation: wave.yaml
position: {x: 1, y: 10}
velocity: {x: 48.0, y: 0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 10
color: magenta
- animation: wave.ani
- animation: wave.yaml
position: {x: 30, y: 4}
velocity: {x: -48.0, y: 0}
boundaries:
@@ -62,7 +62,7 @@ enemies:
y2: 4
color: cyan
- animation: wave.ani
- animation: wave.yaml
position: {x: 15, y: 14}
velocity: {x: -24.0, y: 0}
boundaries:

View File

@@ -42,7 +42,7 @@ tilemap:
# Enemies in this room
enemies:
- animation: shock.ani
- animation: shock.yaml
position: {x: 7, y: 2}
velocity: {x: 0, y: 90.0}
boundaries:
@@ -52,7 +52,7 @@ enemies:
y2: 14
color: yellow
- animation: shock.ani
- animation: shock.yaml
position: {x: 24, y: 6}
velocity: {x: 0, y: -90.0}
boundaries:

View File

@@ -64,7 +64,6 @@ void Cache::load() {
loadPalettes();
loadTextFiles();
loadAnimations();
loadTileMaps();
loadRooms();
createText();
std::cout << "\n** RESOURCES LOADED" << '\n';
@@ -160,18 +159,6 @@ auto Cache::getAnimationData(const std::string& name) -> const ResourceAnimation
throw std::runtime_error("Animación no encontrada: " + name);
}
// Obtiene el mapa de tiles a partir de un nombre
auto Cache::getTileMap(const std::string& name) -> std::vector<int>& {
auto it = std::ranges::find_if(tile_maps_, [&name](const auto& t) { return t.name == name; });
if (it != tile_maps_.end()) {
return it->tile_map;
}
std::cerr << "Error: Mapa de tiles no encontrado " << name << '\n';
throw std::runtime_error("Mapa de tiles no encontrado: " + name);
}
// Obtiene la habitación a partir de un nombre
auto Cache::getRoom(const std::string& name) -> std::shared_ptr<Room::Data> {
auto it = std::ranges::find_if(rooms_, [&name](const auto& r) { return r.name == name; });
@@ -310,13 +297,6 @@ void Cache::loadAnimations() {
}
}
// Carga los mapas de tiles
// DEPRECATED: Los tilemaps ahora vienen embebidos en los archivos YAML de habitaciones
void Cache::loadTileMaps() {
std::cout << "\n>> TILE MAPS (skipped - embebidos en YAML)" << '\n';
// Ya no se cargan tilemaps por separado
}
// Carga las habitaciones desde archivos YAML
void Cache::loadRooms() {
std::cout << "\n>> ROOMS" << '\n';

View File

@@ -89,17 +89,6 @@ struct ResourceAnimation {
yaml_data(std::move(yaml_data)) {}
};
// Estructura para almacenar ficheros con el mapa de tiles de una habitación y su nombre
struct ResourceTileMap {
std::string name; // Nombre del mapa de tiles
std::vector<int> tile_map; // Vector con los indices del mapa de tiles
// Constructor
ResourceTileMap(std::string name, const std::vector<int>& tile_map)
: name(std::move(name)),
tile_map(tile_map) {}
};
// Estructura para almacenar habitaciones y su nombre
struct ResourceRoom {
std::string name; // Nombre de la habitación
@@ -151,7 +140,6 @@ class Cache {
std::vector<ResourceTextFile> text_files_; // Vector con los ficheros de texto
std::vector<ResourceText> texts_; // Vector con los objetos de texto
std::vector<ResourceAnimation> animations_; // Vector con las animaciones
std::vector<ResourceTileMap> tile_maps_; // Vector con los mapas de tiles
std::vector<ResourceRoom> rooms_; // Vector con las habitaciones
ResourceCount count_; // Contador de recursos
@@ -175,9 +163,6 @@ class Cache {
// Carga las animaciones
void loadAnimations();
// Carga los mapas de tiles
void loadTileMaps();
// Carga las habitaciones
void loadRooms();
@@ -247,9 +232,6 @@ class Cache {
// Obtiene los bytes YAML de animación a partir de un nombre (parsing lazy)
auto getAnimationData(const std::string& name) -> const ResourceAnimation&;
// Obtiene el mapa de tiles a partir de un nombre
auto getTileMap(const std::string& name) -> std::vector<int>&;
// Obtiene la habitación a partir de un nombre
auto getRoom(const std::string& name) -> std::shared_ptr<Room::Data>;