打字猴:1.700460441e+09
1700460441 this.proxy=new GamePlayerProxy(this.name);
1700460442
1700460443 return this.proxy;
1700460444
1700460445 }
1700460446
1700460447 //打怪,最期望的就是杀老怪
1700460448
1700460449 public void killBoss(){
1700460450
1700460451 if(this.isProxy()){
1700460452
1700460453 System.out.println(this.name+“在打怪!”);
1700460454
1700460455 }else{
1700460456
1700460457 System.out.println(“请使用指定的代理访问”);
1700460458
1700460459 }
1700460460
1700460461 }
1700460462
1700460463 //进游戏之前你肯定要登录吧,这是一个必要条件
1700460464
1700460465 public void login(String user,String password){
1700460466
1700460467 if(this.isProxy()){
1700460468
1700460469 System.out.println(“登录名为”+user+“的用户”+this.name+“登录成功!”);
1700460470
1700460471 }else{
1700460472
1700460473 System.out.println(“请使用指定的代理访问”);
1700460474
1700460475 }
1700460476
1700460477 }
1700460478
1700460479 //升级,升级有很多方法,花钱买是一种,做任务也是一种
1700460480
1700460481 public void upgrade(){
1700460482
1700460483 if(this.isProxy()){
1700460484
1700460485 System.out.println(this.name+“又升了一级!”);
1700460486
1700460487 }else{
1700460488
1700460489 System.out.println(“请使用指定的代理访问”);
1700460490
[ 上一页 ]  [ :1.700460441e+09 ]  [ 下一页 ]