コード例 #1
0
 public Warp(byte area, int level, WarpFrom from, WarpTo to, int addr)
 {
     this.area   = area;
     this.course = level;
     this.from   = from;
     this.to     = to;
     this.addr   = addr;
 }
コード例 #2
0
 public Warp(byte area, int level, ROM rom, int addr)
 {
     this.area   = area;
     this.course = level;
     rom.PushOffset(addr);
     this.from = new WarpFrom(rom);
     this.to   = new WarpTo(rom);
     rom.PopOffset();
     this.addr = addr;
 }