Exemple #1
0
 public void WakeAssociated()
 {
     if (actorToWake != null)
     {
         actorToWake.SetIdle(true);
     }
 }
Exemple #2
0
 public bool SetAssociated(ActorElement associatedActorIn)
 {
     if (associatedActorIn.Idle())
     {
         associatedActorIn.SetIdle(false);
         actorToWake = associatedActorIn;
         return(true);
     }
     else
     {
         return(false);
     }
 }