protected override void DoSomething(ICanbeFuck t) { throw new NotImplementedException(); }
// protected override bool AttemptMove(int h, int v) // { // return base.AttemptMove(h, v); // } protected override void DoSomething(ICanbeFuck t) { t.Befuck(this); }
protected abstract void DoSomething(ICanbeFuck t);//此时参数就死写了,只能处理ICanbefuck类,如果写成<T>,则可以继续复写