Exemplo n.º 1
0
 public bool AmICurrent(HitTarget h)
 {
     if (current == null)
     {
         return(false);
     }
     return(current.obj == h);
 }
Exemplo n.º 2
0
 public HitCurrentTarget(HitTarget tar)
 {
     isFail = false;
     obj    = tar;
     InitState(NotifyState.eWidth);
 }
Exemplo n.º 3
0
 // cache ColorTheBall script, for speed.
 public HitTargetState(HitTarget ht)
 {
     self = ht;
 }