Skip to content
Commit be6af721 authored by Vlad Rakhmanin's avatar Vlad Rakhmanin Committed by Albert Astals Cid
Browse files

Implemented blurred flag feature

**What does this merge request address?**

This merge request relates to the Bug 457725, which suggested a new feature whereby certain flags with text on them can be blurred out, to make the flag guessing games more challenging. The flag should only be blurred in the guessing games, and in normal "browsing" mode the flag should remain unblurred. 

**How has the new functionality been implemented?**

The map parser has been amended to now look for an additional division property entitled "blurredflag", which should contain a blurred variant of the flag. A new method has been added to the "division" class entitled "getFlagForQuestion", which returns a blurred flag if one is available. This method is now used in the flag guessing games.

BUG: 457725
parent 1068881d
Pipeline #231533 passed with stage
in 5 minutes and 38 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment