static void Main(string[] args) { Player b = new Forwards("巴蒂尔"); b.Attack(); Player m = new Gurads("麦克格雷迪"); b.Defense(); Player y = new Interpreter("姚明"); y.Attack(); }
static void Main(string[] args) { Player a = new Forwards("巴蒂尔"); a.Attack(); Player b = new Center("麦克雷"); b.Defense(); Player ym = new Translator("姚明"); ym.Attack(); Console.Read(); }
public static void Main(string[] args) { Target target = new TargetAdapter(); target.Request(); Player player1 = new Forwards("巴蒂尔"); player1.Attact(); Player player2 = new Guards("麦迪"); player2.Defend(); Player specialPlayer = new Translator("姚明"); specialPlayer.Attact(); specialPlayer.Defend(); Console.ReadLine(); }