This commit is contained in:
Paul Chote
2011-06-17 16:45:52 +12:00
parent 63e77755b7
commit 7095f293ff
4 changed files with 36 additions and 14 deletions

View File

@@ -62,6 +62,7 @@ namespace OpenRA.FileFormats
return At(lastLevel, lastIndex);
}
public T Peek() { return At(0,0); }
public T Pop()
{
if (level == 0 && index == 0)