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