HandleMessage() public method

public HandleMessage ( Telegram message ) : bool
message Telegram
return bool
 //this method is utilized by DispatchMsg or DispatchDelayedMessages.
 //This method calls the message handling member function of the receiving
 //entity, pReceiver, with the newly created telegram
 private void discharge(BaseGameEntity receiver, Telegram telegram)
 {
     receiver.HandleMessage(telegram);
 }
Ejemplo n.º 2
0
 //this method is utilized by DispatchMsg or DispatchDelayedMessages.
 //This method calls the message handling member function of the receiving
 //entity, pReceiver, with the newly created telegram
 private void discharge(BaseGameEntity receiver, Telegram telegram)
 {
     receiver.HandleMessage(telegram);
 }