未加专题

python项目--飞机大战(第一阶段--未加子弹版)

import tkinterimport timeimport random as rdclass plane1():#移动量#px代表图像的锚点,height代表图像的高度def __init__(self, px, py, height, width):self.pl1x = 0self.pl1y = 0self.px = pxself.py = pyself.height = he