private Goods1151 GetOtherDoor(Goods1151 d) { int num = 0; int count = this.Doors.Count; while (num < count) { Goods1151 goods = this.Doors[num]; if (goods != d) { return(goods); } num++; } return(null); }
public void AddDoor(Goods1151 d) { this.Doors.Add(d); this.action.Init(false); }
public void GotoDoor(Goods1151 d) {