mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 22:35:42 +00:00
* Replace Hostility proto with Scala Hostility enum This removes direct proto imports from library/ for the Hostility type: - FactionUtils.hostilityStatus now returns Scala Hostility - ArmyStats.hostility now uses Scala Hostility type - AvailableAttackDecisionCommandFactory no longer imports proto - AvailableFreeForAllDecisionCommandFactory no longer imports proto - AttackDecisionCommandChooser uses Hostility.Enemy instead of proto - BattleFilter no longer needs protoToScalaHostility converter - AvailableCommandConverter uses HostilityConverter.toProto This completes Phase 8b of the deproto migration, reducing direct proto imports in library/ from 8 files to 4 (LLM prompt generators). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Fix AvailableCommandConverterTest to use Scala Hostility enum Update test to use net.eagle0.eagle.model.state.Hostility.Self instead of proto net.eagle0.common.hostility.Hostility.SELF_HOSTILITY. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>