class_name BattleController extends RefCounted #decide pour un participant : IA (BattleAI) ou joueur (menus, a venir). #les deux fonctions peuvent utiliser "await" (le joueur attend un choix dans l'interface). func choose_action(_battle : Battle, _slot : BattleSlot) -> BattleAction: return null func choose_replacement(_battle : Battle, _slot : BattleSlot) -> PokemonInstance: return null