示例#1
0
 public Level(BinaryReader reader)
 {
     string ver = ReadHeader(reader);
     if (ver == "0.002" || ver == "0.003")
     {
         mGravity = reader.ReadInt16();
         mOxygenLeak = new V16(reader);
     }
     mPalette = new Palette(reader);
     mGrid = new Grid(reader, ver);
 }
示例#2
0
 private void GridChangedHandler(Grid aGrid)
 {
     AutoScrollMinSize = ContentSize;
 }
示例#3
0
 public Level()
 {
     mGrid = new Grid();
     mPalette = new Palette();
 }