MisterPeModder / Bomberman-Global-Offensive

Probably one of the best Bomberman fan games
MIT License
4 stars 3 forks source link

Add Land Mine activable item #200

Closed AndreasLrx closed 2 years ago

AndreasLrx commented 2 years ago

Add support for one activable item, architecture will evolve with the next activable items (with need of actions for next/previous item).

Activate item action is linked to key R (player 0) and T (player 1) (keys to be changed, I used them because they don't change between qwerty/azerty).

Resolves: #198 Linked: #151

codecov-commenter commented 2 years ago

Codecov Report

Merging #200 (abef965) into master (befb589) will decrease coverage by 0.20%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #200      +/-   ##
==========================================
- Coverage   13.04%   12.84%   -0.21%     
==========================================
  Files         159      160       +1     
  Lines        2376     2414      +38     
  Branches      775      792      +17     
==========================================
  Hits          310      310              
- Misses       1918     1956      +38     
  Partials      148      148              
Impacted Files Coverage Δ
src/game/components/Bomb.cpp 0.00% <0.00%> (ø)
src/game/components/Bomb.hpp 0.00% <0.00%> (ø)
src/game/components/BombNoClip.cpp 0.00% <0.00%> (ø)
src/game/components/Player.cpp 0.00% <0.00%> (ø)
src/game/components/Player.hpp 0.00% <0.00%> (ø)
src/game/components/items/Item.cpp 0.00% <0.00%> (ø)
src/game/components/items/Item.hpp 0.00% <ø> (ø)
src/game/components/items/LandMine.cpp 0.00% <0.00%> (ø)
src/game/settings/Keybinds.cpp 0.00% <0.00%> (ø)
src/game/systems/Bomb.cpp 0.00% <0.00%> (ø)
... and 4 more

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 befb589...abef965. Read the comment docs.