Skip to content

Added Shortcut Method to Check if a Unit is Battle Armor#6006

Merged
IllianiBird merged 1 commit into
MegaMek:masterfrom
IllianiBird:isBattleArmor
Feb 8, 2025
Merged

Added Shortcut Method to Check if a Unit is Battle Armor#6006
IllianiBird merged 1 commit into
MegaMek:masterfrom
IllianiBird:isBattleArmor

Conversation

@IllianiBird

Copy link
Copy Markdown
Collaborator
  • Introduced a new isBattleArmor method to determine if the associated entity is classified as battle armor.

Introduced a new `isBattleArmor` method to determine if the associated entity is classified as battle armor. This complements existing classification methods and ensures consistent entity type checks.
@IllianiBird IllianiBird added the Utility A new utility function or developer tool label Feb 8, 2025
@codecov-commenter

codecov-commenter commented Feb 8, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.33%. Comparing base (aa9d9d0) to head (d4e90ee).
Report is 6 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6006      +/-   ##
============================================
- Coverage     10.34%   10.33%   -0.01%     
+ Complexity     6133     6130       -3     
============================================
  Files          1039     1039              
  Lines        139392   139393       +1     
  Branches      20674    20674              
============================================
- Hits          14415    14411       -4     
- Misses       123532   123536       +4     
- Partials       1445     1446       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@IllianiBird IllianiBird merged commit 86fc6da into MegaMek:master Feb 8, 2025
@IllianiBird IllianiBird deleted the isBattleArmor branch March 23, 2025 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Utility A new utility function or developer tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants