Ejemplo n.º 1
0
 //this method is utilized by DispatchMessage or DispatchDelayedMessages.
 //This method calls the message handling member function of the receiving
 //entity, pReceiver, with the newly created telegram
 public void Discharge(BaseGameEntity pReceiver, Telegram telegram)
 {
     if (!pReceiver.HandleMessage(telegram))
     {
         Debug.WriteLine("Telegram could not be handled");
     }
 }