草庐IT

PlanePosition

全部标签

c# - C# 中的纯虚方法?

我被告知要使我的类抽象:publicabstractclassAirplane_Abstract并创建一个名为movevirtual的方法publicvirtualvoidMove(){//usethepropertytoensurethatthereisavalidpositionobjectdoubleradians=PlanePosition.Direction*(Math.PI/180.0);//changethexlocationbythexvectorofthespeedPlanePosition.X_Coordinate+=(int)(PlanePosition.Spee

c# - C# 中的纯虚方法?

我被告知要使我的类抽象:publicabstractclassAirplane_Abstract并创建一个名为movevirtual的方法publicvirtualvoidMove(){//usethepropertytoensurethatthereisavalidpositionobjectdoubleradians=PlanePosition.Direction*(Math.PI/180.0);//changethexlocationbythexvectorofthespeedPlanePosition.X_Coordinate+=(int)(PlanePosition.Spee