1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

code review

This commit is contained in:
Michael
2023-08-27 00:22:29 +02:00
committed by GitHub
parent 6b71820197
commit 4eecca2d9a
3 changed files with 9 additions and 6 deletions

View File

@@ -49,9 +49,9 @@ class MapView : public BasicMapView
{
std::shared_ptr<MapViewActions> actions;
std::map<uint32_t, Point> swipeHistory;
double postSwipeAngle;
double postSwipeSpeed;
std::vector<std::pair<uint32_t, Point>> swipeHistory;
double postSwipeAngle = 0.0;
double postSwipeSpeed = 0.0;
void postSwipe(uint32_t msPassed);