mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 15:51:42 +00:00
b181c6c15d
## Description: - Implement ground attack logic in ClientGameRunner - Move cursor location logic from doBoatAttackUnderCursor to getTileUnderCursor for reusability. - New keybind G for Ground Attack - Add translations for ground attack labels in English ## Please complete the following: - [X] I have added screenshots for all UI updates - [X] I process any text displayed to the user through translateText() and I've added it to the en.json file - [X] I have added relevant tests to the test directory* - [X] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [X] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors <img width="902" alt="image" src="https://github.com/user-attachments/assets/54bb3178-af2e-4715-bfa2-82b7fe0e8e85" /> *The getTileUnderCursor() and doGroundAttackUnderCursor() methods are private with many dependencies. I did not do isolated unit testing and thus zero tests where added. ## Please put your Discord username so you can be contacted if a bug or regression is found: eng.la --------- Co-authored-by: evanpelle <evanpelle@gmail.com>