Created
March 24, 2015 14:43
-
-
Save penev92/e41caf0873f2a73e6a9e to your computer and use it in GitHub Desktop.
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
foreach (var frame in originalTileset) | |
{ | |
var found = false; | |
foreach (var tile in ourTileset) | |
{ | |
var match = true; | |
for (var i = 0; i < tile.Data.Length; i++) | |
{ | |
if (frame.Data[i] != tile.Data[i]) | |
match = false; | |
} | |
if (match) | |
{ | |
found = true; | |
break; | |
} | |
} | |
if (!found) | |
missing.Add(frame); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment