forked from jaildesigner-jailgames/jaildoctors_dilemma
[DOC:29/10/2025] w i h ja no fan falta, se pilla del .ANI
This commit is contained in:
@@ -865,10 +865,12 @@ auto Room::setEnemy(Enemy::Data* enemy, const std::string& key, const std::strin
|
||||
enemy->surface_path = value;
|
||||
} else if (key == "animation") {
|
||||
enemy->animation_path = value;
|
||||
/* [DOC:29/10/2025] w i h ja no fan falta, se pilla del .ANI
|
||||
} else if (key == "width") {
|
||||
enemy->w = std::stoi(value);
|
||||
} else if (key == "height") {
|
||||
enemy->h = std::stoi(value);
|
||||
[/DOC] */
|
||||
} else if (key == "x") {
|
||||
enemy->x = std::stof(value) * TILE_SIZE;
|
||||
} else if (key == "y") {
|
||||
|
||||
Reference in New Issue
Block a user