Creando habitaciones

This commit is contained in:
2022-11-09 21:24:33 +01:00
parent 164dfe1e54
commit 41c765619d
22 changed files with 213 additions and 80 deletions

View File

@@ -21,6 +21,7 @@ Enemy::Enemy(enemy_t enemy)
sprite->setWidth(enemy.w);
sprite->setHeight(enemy.h);
doFlip = enemy.flip;
mirror = enemy.mirror;
if (doFlip)
{
if (enemy.vx < 0.0f)