ajustos de qualitat, canvi de tecles, persistencia de opcions, etc
This commit is contained in:
@@ -47,6 +47,7 @@ class Room {
|
||||
std::string music; // Resuelto: zona o override del yaml
|
||||
bool tile_set_overridden{false}; // True si el yaml tenía tileSetFile explícito
|
||||
bool music_overridden{false}; // True si el yaml tenía music explícito
|
||||
bool bg_color_overridden{false}; // True si el yaml tenía bgColor explícito
|
||||
std::vector<int> tile_map;
|
||||
std::vector<int> collision_tile_map;
|
||||
std::vector<Enemy::Data> enemies;
|
||||
@@ -85,6 +86,7 @@ class Room {
|
||||
void setCollisionTile(int index, int value);
|
||||
void setConnection(Border border, const std::string& room_name);
|
||||
void setTileSet(const std::string& tile_set_file);
|
||||
void setBgColor(Uint8 bg_color);
|
||||
[[nodiscard]] auto getTileSetWidth() const -> int { return tile_set_width_; }
|
||||
#endif
|
||||
void update(float delta_time);
|
||||
|
||||
Reference in New Issue
Block a user