A bit of work for current SVN support for tilemanager (can read "tiles" block now...
[supertux.git] / tools / tilemanager / Parser.cs
index 163a75e..6a70eef 100644 (file)
@@ -63,6 +63,14 @@ public class Parser {
         return true;
     }
 
+    public static void ParseIntList(Parser parser, System.Collections.Generic.List<int> intList) {
+       int d = parser.Depth;
+       while(parser.Depth >= d) {
+               intList.Add(parser.IntegerValue);
+               parser.Parse();
+       }
+    }
+
     private LispType type;
     public LispType Type {
         get { return type; }