feat(enemy): els enemics poden disparar bales via tick d'IA

This commit is contained in:
2026-05-25 20:05:01 +02:00
parent 5ad433e63a
commit 14295ce859
18 changed files with 361 additions and 92 deletions
+2 -1
View File
@@ -65,7 +65,8 @@ struct AiTickAction {
float interval{1.0F};
AimMode aim_mode{AimMode::RANDOM};
float jitter_rad{0.0F};
std::string bullet_config_name; // referit per nom (Fase C); buit a Fase A/B
float bullet_speed{200.0F}; // px/s; la magnitud la decideix l'enemic, no el bullet config
std::string bullet_config_name; // bullet config a usar (lazy-load des de BulletRegistry)
};
struct EnemyAiConfig {