更新 'ship.py'

This commit is contained in:
206530210 2021-06-21 21:49:07 +08:00
parent ec5d906652
commit f8a61e888f
1 changed files with 1 additions and 0 deletions

View File

@ -21,4 +21,5 @@ class Ship(Sprite):
# 在飞船的属性center中存储小数值
self.center = float(self.rect.centerx)
self.centery = float(self.rect.centery)