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