Created
April 15, 2013 11:13
-
-
Save PDXIII/5387379 to your computer and use it in GitHub Desktop.
Code snippet for my Unfolding tutorial site.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void draw() { | |
map.draw(); | |
for (int i = 0; i < countryMarkers.size(); i++){ | |
Marker country = countryMarkers.get(i); | |
if(country.isInside(map, mouseX, mouseY)){ | |
country.draw(map); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment