예제 #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();
 }