MegaMek / megamek

MegaMek is a networked Java clone of BattleTech, a turn-based sci-fi boardgame for 2+ players. Fight using giant robots, tanks, and/or infantry on a hex-based map.
http://www.megamek.org
GNU General Public License v2.0
299 stars 288 forks source link

Some Entity cleanup #6004

Closed SJuliez closed 2 months ago

SJuliez commented 2 months ago

Code updates for Entity in the hope of making it shorter and removing warnings

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 29.09%. Comparing base (07a8bb0) to head (96e1119). Report is 16 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6004 +/- ## ============================================ + Coverage 29.07% 29.09% +0.02% + Complexity 13958 13957 -1 ============================================ Files 2576 2576 Lines 267398 267183 -215 Branches 47803 47718 -85 ============================================ + Hits 77735 77737 +2 + Misses 185761 185541 -220 - Partials 3902 3905 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.