
07-22-2008, 05:16 AM
|
Will work for food. Maybe
|
 |
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
|
|
Heh... nothing. Typically it's for delta but there is no delta in this case.
Tiles[x,y] is what you're looking for... which is the same. Now what you do is...
tiles[x,y](x and y are... well, the x and y you're checking) == hex.
So...
if (tiles[x,y] in {0x31,0x1A4}) {}
Would check if the tiles at the given position match what you provided in the original post. |
|
|