Esempio n. 1
0
 public override bool match(string s, World g)
 {
     selected = null;
     foreach (Matcher f in m)
     {
         if (f.match(s,g)){
             selected=f;
         }
     }
     if (selected==null){
         return false;
     }
     else{
         return true;
     }
 }
Esempio n. 2
0
 public Command(Matcher m, String name)
 {
     this.matcher = m;
     this.name = name;
 }
Esempio n. 3
0
 public Command(Matcher m, String name)
 {
     this.matcher = m;
     this.name    = name;
 }