Exemplo n.º 1
0
 public void update()
 {
     if (this.target.isValied)
     {
         this.moveToTarget();
     }
     else
     {
         this.findOtherTarget();
         target.close();
         target = null;
     }
 }
Exemplo n.º 2
0
 public void setTarget(Ship ship)
 {
     this.target = new TezValider <Ship>(ship.valider);
 }