diff --git a/Plant.py b/Plant.py new file mode 100644 index 0000000..a987d0c --- /dev/null +++ b/Plant.py @@ -0,0 +1,9 @@ +import pygame +from Constant import LOG + + +# 植物类 +class Plant(pygame.sprite.Sprite): + def __init__(self): + super(Plant, self).__init__() + self.live = True