删除 'super_bullet.py'

This commit is contained in:
206530118 2021-06-24 12:42:44 +08:00
parent 1789644c16
commit b742a78710
1 changed files with 0 additions and 16 deletions

View File

@ -1,16 +0,0 @@
import pygame
from bullet import Bullet
class SuperBullet(Bullet):
"""一个对飞船发射的超级子弹进行管理的类"""
def __init__(self, ai_settings, screen, ship):
"""在飞船所处的位置创建一个子弹对象"""
super().__init__(ai_settings, screen, ship)
# 设置超级子弹宽高,颜色及速度
self.rect.width = ai_settings.super_bullet_width
self.rect.height = ai_settings.super_bullet_height
self.color = ai_settings.super_bullet_color
self.speed_factor = ai_settings.super_bullet_speed_factor