请问我这个player这个参数为什么会存在从double转化到int的问题,明明player都设置成了double类型了啊,有没有大 佬帮忙看看
line27和line28,x与y和int类型计算,导致精度丢失
27行 改成2.0