示例#1
0
 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;
 }
示例#2
0
文件: Loc.cs 项目: efskap/OneBigBox
 public Loc(Block block, int pos)
 {
     this.block = block;
     this.pos = pos;
 }
示例#3
0
 public void add(Block block)
 {
     blockPool.Add(block);
 }
示例#4
0
 public void open(Block block)
 {
     loc = new Loc(block, 0);
     blockPool.Add(block);
 }
示例#5
0
文件: Block.cs 项目: efskap/OneBigBox
 protected bool Equals(Block other)
 {
     return Equals(data, other.data) && string.Equals(filepath, other.filepath) && Equals(FileSystem, other.FileSystem);
 }