public override void GetMessage(string message, BaseCharacter characterFrom) { Console.WriteLine("{0}班长get{1}:{2}", base.Name, characterFrom.Name, message); }
public abstract void GetMessage(string message, BaseCharacter characterFrom);
public override void SendMessage(string message, BaseCharacter characterTo) { Console.WriteLine("{0}班长to {1}:{2}", base.Name, characterTo.Name, message); characterTo.GetMessage(message, this); }
public abstract void SendMessage(string message, BaseCharacter characterTo);