Created
June 29, 2014 02:21
-
-
Save phrohdoh/cf790078f9ce7324b65e 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
public void LoadTilesFromFile(string filename) | |
{ | |
var fullText = File.ReadAllLines(filename); | |
var output = new int[fullText.Length][]; | |
foreach (var fullLine in fullText) | |
{ | |
var lineAsIntArray = fullLine.ToIntArray(','); | |
for (var intIndex = 0; intIndex < lineAsIntArray.Length; intIndex++) | |
{ | |
Console.WriteLine(lineAsIntArray[intIndex]); | |
for (var nextLine = 0; nextLine < fullLine.Length; nextLine++) | |
{ | |
// wat do | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment