package atan.parser;
import atan.model.*;
class ObjNameFlagRight implements ObjName {
    char qualifier;
    int number;
    ObjNameFlagRight(char qualifier, int number) {
        this.qualifier = qualifier;
        this.number = number;
    }
    public void infoSeeFromEast(Controller c, double dist, double dir) {
      switch (qualifier) {
        case 't': switch (number) {
          case 30: c.infoSeeFlagOwn(Flag.FLAG_RIGHT_30, dist, dir); break;
          case 20: c.infoSeeFlagOwn(Flag.FLAG_RIGHT_20, dist, dir); break;
          case 10: c.infoSeeFlagOwn(Flag.FLAG_RIGHT_10, dist, dir); break;
        }; break;
        case 'b': switch (number) {
          case 30: c.infoSeeFlagOwn(Flag.FLAG_LEFT_30, dist, dir); break;
          case 20: c.infoSeeFlagOwn(Flag.FLAG_LEFT_20, dist, dir); break;
          case 10: c.infoSeeFlagOwn(Flag.FLAG_LEFT_10, dist, dir); break;
        }; break;
        case '0': c.infoSeeFlagOwn(Flag.FLAG_CENTER, dist, dir); break;
      }
    }
    public void infoSeeFromWest(Controller c, double dist, double dir) {
      switch (qualifier) {
        case 't': switch (number) {
          case 30: c.infoSeeFlagOther(Flag.FLAG_RIGHT_30, dist, dir); break;
          case 20: c.infoSeeFlagOther(Flag.FLAG_RIGHT_20, dist, dir); break;
          case 10: c.infoSeeFlagOther(Flag.FLAG_RIGHT_10, dist, dir); break;
        }; break;
        case 'b': switch (number) {
          case 30: c.infoSeeFlagOther(Flag.FLAG_LEFT_30, dist, dir); break;
          case 20: c.infoSeeFlagOther(Flag.FLAG_LEFT_20, dist, dir); break;
          case 10: c.infoSeeFlagOther(Flag.FLAG_LEFT_10, dist, dir); break;
        }; break;
        case '0': c.infoSeeFlagOther(Flag.FLAG_CENTER, dist, dir); break;
      }
    }
}

@@ -1050,32 +1050,34 @@
 le dir) %7B%0A      
+  
 switch (qualifie
@@ -1073,32 +1073,34 @@
 h (qualifier) %7B%0A
+  
         case 't'
@@ -1121,32 +1121,34 @@
 er) %7B%0A          
+ 
+ 
 case 30: c.infoS
@@ -1161,36 +1161,35 @@
 Other(Flag.FLAG_
-RIGH
+LEF
 T_30, dist, dir)
@@ -1189,32 +1189,34 @@
 t, dir); break;%0A
+  
           case 2
@@ -1239,36 +1239,35 @@
 Other(Flag.FLAG_
-RIGH
+LEF
 T_20, dist, dir)
@@ -1267,32 +1267,34 @@
 t, dir); break;%0A
+  
           case 1
@@ -1317,36 +1317,35 @@
 Other(Flag.FLAG_
-RIGH
+LEF
 T_10, dist, dir)
@@ -1353,32 +1353,34 @@
  break;%0A        
+  
 %7D; break;%0A      
@@ -1365,32 +1365,34 @@
       %7D; break;%0A
+  
         case 'b'
@@ -1413,32 +1413,34 @@
 er) %7B%0A          
+  
 case 30: c.infoS
@@ -1453,35 +1453,36 @@
 Other(Flag.FLAG_
-LEF
+RIGH
 T_30, dist, dir)
@@ -1492,32 +1492,34 @@
 reak;%0A          
+  
 case 20: c.infoS
@@ -1532,35 +1532,36 @@
 Other(Flag.FLAG_
-LEF
+RIGH
 T_20, dist, dir)
@@ -1571,32 +1571,34 @@
 reak;%0A          
+  
 case 10: c.infoS
@@ -1611,35 +1611,36 @@
 Other(Flag.FLAG_
-LEF
+RIGH
 T_10, dist, dir)
@@ -1648,32 +1648,34 @@
  break;%0A        
+  
 %7D; break;%0A      
@@ -1660,32 +1660,34 @@
       %7D; break;%0A
+  
         case '0'
@@ -1746,22 +1746,26 @@
 reak;%0A      
-%7D%0A
+  %7D%0A  
     %7D%0A%7D%0A

order of flags for west player was changed