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