Add "has" helper function to TileClass, so that one can find out if the given tile...
commit6c7f3ae0099b5034e6adac0214c75fe4587267d0
authorelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Fri, 2 Mar 2018 16:16:45 +0000 (2 16:16 +0000)
committerelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Fri, 2 Mar 2018 16:16:45 +0000 (2 16:16 +0000)
tree95ea8ba7ac08d44c8d6ecdbe1843668dee804192
parent767cee27ca2890d3da23f56f9491b2915d863aaf
Add "has" helper function to TileClass, so that one can find out if the given tile is marked with that class or not without having to fallback to Constraints.
Performance improvement for Ambush, refs #5011.

git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@21414 3db68df2-c116-0410-a063-a993310a9797
binaries/data/mods/public/maps/random/ambush.js
binaries/data/mods/public/maps/random/latium.js
binaries/data/mods/public/maps/random/mediterranean.js
binaries/data/mods/public/maps/random/rmgen/TileClass.js