tresinformal / drakkar

The tresinformal video game called 'Drakkar'
GNU General Public License v3.0
11 stars 4 forks source link

Implement `player_profession` #538

Closed EvoLandEco closed 2 years ago

EvoLandEco commented 2 years ago

Fixes #537 For now player can choose among three professions: hitman, sprinter and tank. Feel free to change/add, we've not discussed their traits and abilities yet, you can consider them as just placeholders.

codecov-commenter commented 2 years ago

Codecov Report

Merging #538 (4792b59) into develop (626186e) will decrease coverage by 2.05%. The diff coverage is 7.93%.

@@             Coverage Diff             @@
##           develop     #538      +/-   ##
===========================================
- Coverage    93.53%   91.47%   -2.06%     
===========================================
  Files           46       47       +1     
  Lines         2598     2652      +54     
  Branches       165      167       +2     
===========================================
- Hits          2430     2426       -4     
- Misses         168      226      +58     
Impacted Files Coverage Δ
key_action_map.cpp 78.94% <0.00%> (-20.40%) :arrow_down:
key_action_map.h 100.00% <ø> (ø)
player_profession.cpp 0.00% <0.00%> (ø)
color.cpp 98.14% <100.00%> (-0.02%) :arrow_down:
enemy_behavior_type.cpp 94.44% <100.00%> (ø)
player_state.cpp 100.00% <100.00%> (ø)
sound_type.cpp 95.45% <100.00%> (-0.20%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 626186e...4792b59. Read the comment docs.

EvoLandEco commented 2 years ago

I forgot to revert the commits from @richelbilderbeek. This PR is wrong and should be closed