Snayff / notquiteparadise

Possibly, one day, a roguelike.
https://snayff.github.io/notquiteparadise/
MIT License
18 stars 9 forks source link

hotfix/stopped_double_movement #269

Closed DaFluffyPotato closed 3 years ago

DaFluffyPotato commented 3 years ago

Fixed #122 by adding peeking functionality to the event system so we can ensure that there isn't an end turn event waiting in queue when the player tries to move. That said, you can visually still move diagonally. It just processes the turns correctly and lets other entities take 2 actions. If we want to get rid of the visual diagonal movement, we need to stop entities from taking actions before animations from the previous turn have finished. That's a different and slightly larger issue though.

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information