Exemple #1
0
 public void a(lk.ac.mrt.cse.pc11.AI.b A_0, int A_1)
 {
     List<lk.ac.mrt.cse.pc11.AI.b> list;
     int num;
     bool flag;
     list = new List<lk.ac.mrt.cse.pc11.AI.b>();
     num = 0;
     goto Label_0024;
     Label_000B:
     list.Add(this.a[num]);
     num += 1;
     Label_0024:
     if ((num < A_1) != null)
     {
         goto Label_000B;
     }
     list.Add(A_0);
     num = A_1;
     goto Label_0051;
     Label_0038:
     list.Add(this.a[num]);
     num += 1;
     Label_0051:
     if ((num < this.a.Count) != null)
     {
         goto Label_0038;
     }
     this.a = list;
     this.a();
     return;
 }
Exemple #2
0
 public bool a(lk.ac.mrt.cse.pc11.AI.b A_0)
 {
     bool flag;
     flag = (this.a == A_0.d()) & (this.b == A_0.c());
     Label_0021:
     return flag;
 }
Exemple #3
0
 public int b(lk.ac.mrt.cse.pc11.AI.b A_0)
 {
     int num;
     bool flag;
     if (((A_0.c() < this.b) == 0) != null)
     {
         goto Label_001B;
     }
     num = 1;
     goto Label_006D;
     Label_001B:
     if (((A_0.d() < this.a) == 0) != null)
     {
         goto Label_0035;
     }
     num = 2;
     goto Label_006D;
     Label_0035:
     if (((A_0.b > this.b) == 0) != null)
     {
         goto Label_004F;
     }
     num = 3;
     goto Label_006D;
     Label_004F:
     if (((A_0.d() > this.a) == 0) != null)
     {
         goto Label_0069;
     }
     num = 4;
     goto Label_006D;
     Label_0069:
     num = 0;
     Label_006D:
     return num;
 }
Exemple #4
0
 public void b(lk.ac.mrt.cse.pc11.AI.b A_0)
 {
     this.a(A_0, 0);
     return;
 }
Exemple #5
0
 public void a(lk.ac.mrt.cse.pc11.AI.b A_0)
 {
     this.a.Add(A_0);
     this.a();
     return;
 }
Exemple #6
0
 public c(int A_0, lk.ac.mrt.cse.pc11.AI.b[] A_1, lk.ac.mrt.cse.pc11.AI.b[] A_2, List<DummyAI> A_3)
 {
     int num;
     int num2;
     lk.ac.mrt.cse.pc11.AI.b b;
     lk.ac.mrt.cse.pc11.AI.b b2;
     bool flag;
     lk.ac.mrt.cse.pc11.AI.b[] bArray;
     int num3;
     this.d = new List<DummyAI>();
     this.e = new List<lk.ac.mrt.cse.pc11.AI.b>();
     this.f = new List<lk.ac.mrt.cse.pc11.AI.b>();
     base..ctor();
     lk.ac.mrt.cse.pc11.AI.c.b = A_0;
     this.d = A_3;
     a = new bool[lk.ac.mrt.cse.pc11.AI.c.b][];
     num = 0;
     goto Label_0087;
     Label_004A:
     a[num] = new bool[lk.ac.mrt.cse.pc11.AI.c.b];
     num2 = 0;
     goto Label_0070;
     Label_0060:
     a[num][num2] = 1;
     num2 += 1;
     Label_0070:
     if ((num2 < ((int) a[num].Length)) != null)
     {
         goto Label_0060;
     }
     num += 1;
     Label_0087:
     if ((num < lk.ac.mrt.cse.pc11.AI.c.b) != null)
     {
         goto Label_004A;
     }
     bArray = A_1;
     num3 = 0;
     goto Label_00C0;
     Label_009E:
     b = bArray[num3];
     a[b.d()][b.c()] = 0;
     num3 += 1;
     Label_00C0:
     if ((num3 < ((int) bArray.Length)) != null)
     {
         goto Label_009E;
     }
     bArray = A_2;
     num3 = 0;
     goto Label_00F9;
     Label_00D7:
     b2 = bArray[num3];
     a[b2.d()][b2.c()] = 0;
     num3 += 1;
     Label_00F9:
     if ((num3 < ((int) bArray.Length)) != null)
     {
         goto Label_00D7;
     }
     return;
 }
Exemple #7
0
 private lk.ac.mrt.cse.pc11.AI.a b(lk.ac.mrt.cse.pc11.AI.b A_0, lk.ac.mrt.cse.pc11.AI.b A_1, bool[][] A_2)
 {
     lk.ac.mrt.cse.pc11.AI.b b;
     bool flag;
     lk.ac.mrt.cse.pc11.AI.a a;
     bool flag2;
     b = this.e[0];
     flag = 0;
     goto Label_004D;
     Label_0012:
     b = this.e[0];
     if (this.a(b, A_1, A_2) != null)
     {
         goto Label_0040;
     }
     this.e.RemoveAt(0);
     goto Label_004C;
     Label_0040:
     a = this.a(A_0, b);
     goto Label_0063;
     Label_004C:;
     Label_004D:
     if ((this.e.Count > 0) != null)
     {
         goto Label_0012;
     }
     a = null;
     Label_0063:
     return a;
 }
Exemple #8
0
 private bool a(lk.ac.mrt.cse.pc11.AI.b A_0, lk.ac.mrt.cse.pc11.AI.b A_1, bool[][] A_2)
 {
     bool flag;
     bool flag2;
     if ((((A_1.d() == A_0.d()) & (A_1.c() == A_0.c())) == 0) != null)
     {
         goto Label_002D;
     }
     flag = 1;
     goto Label_00FE;
     Label_002D:
     if ((this.a(A_0.d(), A_0.c()) == 0) != null)
     {
         goto Label_00F9;
     }
     if ((A_2[A_0.d()][A_0.c()] == 0) != null)
     {
         goto Label_00F5;
     }
     A_2[A_0.d()][A_0.c()] = 0;
     this.e.Add(new lk.ac.mrt.cse.pc11.AI.b(A_0.d() - 1, A_0.c(), A_0));
     this.e.Add(new lk.ac.mrt.cse.pc11.AI.b(A_0.d() + 1, A_0.c(), A_0));
     this.e.Add(new lk.ac.mrt.cse.pc11.AI.b(A_0.d(), A_0.c() - 1, A_0));
     this.e.Add(new lk.ac.mrt.cse.pc11.AI.b(A_0.d(), A_0.c() + 1, A_0));
     Label_00F5:
     flag = 0;
     goto Label_00FE;
     Label_00F9:
     flag = 0;
     Label_00FE:
     return flag;
 }
Exemple #9
0
 private lk.ac.mrt.cse.pc11.AI.a a(lk.ac.mrt.cse.pc11.AI.b A_0, lk.ac.mrt.cse.pc11.AI.b A_1)
 {
     lk.ac.mrt.cse.pc11.AI.a a;
     lk.ac.mrt.cse.pc11.AI.b b;
     lk.ac.mrt.cse.pc11.AI.a a2;
     bool flag;
     a = new lk.ac.mrt.cse.pc11.AI.a();
     b = A_1;
     goto Label_002C;
     Label_000B:
     a.b(new lk.ac.mrt.cse.pc11.AI.b(b.d(), b.c()));
     b = b.e();
     Label_002C:
     if ((((b.d() == A_0.d()) == 0) | ((b.c() == A_0.c()) == 0)) != null)
     {
         goto Label_000B;
     }
     a.b(new lk.ac.mrt.cse.pc11.AI.b(A_0.d(), A_0.c()));
     a2 = a;
     Label_006F:
     return a2;
 }
Exemple #10
0
 public lk.ac.mrt.cse.pc11.AI.a a(int A_0, lk.ac.mrt.cse.pc11.AI.b A_1, lk.ac.mrt.cse.pc11.AI.b A_2)
 {
     bool[][] flagArray;
     int num;
     int num2;
     lk.ac.mrt.cse.pc11.AI.a a;
     bool flag;
     flagArray = new bool[b][];
     num = 0;
     goto Label_005F;
     Label_0010:
     flagArray[num] = new bool[b];
     num2 = 0;
     goto Label_004C;
     Label_0022:
     if ((lk.ac.mrt.cse.pc11.AI.c.a[num][num2] == 0) != null)
     {
         goto Label_003F;
     }
     flagArray[num][num2] = 1;
     goto Label_0047;
     Label_003F:
     flagArray[num][num2] = 0;
     Label_0047:
     num2 += 1;
     Label_004C:
     if ((num2 < ((int) flagArray[num].Length)) != null)
     {
         goto Label_0022;
     }
     num += 1;
     Label_005F:
     if ((num < b) != null)
     {
         goto Label_0010;
     }
     num = 0;
     goto Label_00B3;
     Label_0071:
     if ((A_0 == num) != null)
     {
         goto Label_00AE;
     }
     flagArray[this.d[num].d().d()][this.d[num].d().c()] = 0;
     Label_00AE:
     num += 1;
     Label_00B3:
     if ((num < this.d.Count) != null)
     {
         goto Label_0071;
     }
     this.e.Add(A_1);
     a = this.b(A_1, A_2, flagArray);
     Label_00E0:
     return a;
 }
Exemple #11
0
 public lk.ac.mrt.cse.pc11.AI.a a(int A_0, lk.ac.mrt.cse.pc11.AI.b A_1)
 {
     lk.ac.mrt.cse.pc11.AI.a a;
     a = this.a(A_0, this.d[A_0].d(), A_1);
     Label_001D:
     return a;
 }
Exemple #12
0
 internal void a(lk.ac.mrt.cse.pc11.AI.a A_0)
 {
     this.d = A_0;
     Label_0008:
     try
     {
         this.e = this.d.d();
         goto Label_002A;
     }
     catch (Exception)
     {
     Label_001D:
         this.e = 100;
         goto Label_002A;
     }
     Label_002A:
     return;
 }
Exemple #13
0
 public b(int A_0, int A_1, lk.ac.mrt.cse.pc11.AI.b A_2)
 {
     this..ctor(A_0, A_1);
     this.c = A_2;
     return;
 }