public Region(Block block, int a, int b) { if (a == b) throw new Exception("a==b"); this.a = a; this.b = b; this.block = block; }
public Loc(Block block, int pos) { this.block = block; this.pos = pos; }
public void add(Block block) { blockPool.Add(block); }
public void open(Block block) { loc = new Loc(block, 0); blockPool.Add(block); }
protected bool Equals(Block other) { return Equals(data, other.data) && string.Equals(filepath, other.filepath) && Equals(FileSystem, other.FileSystem); }