Beispiel #1
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;
 }
Beispiel #2
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;
 }
Beispiel #3
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;
 }
Beispiel #4
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;
 }