From 8bb0656008e5fffb83e262053a50d25700b4a4b0 Mon Sep 17 00:00:00 2001 From: ppqz7ofga <1377053057@qq.com> Date: Tue, 30 Apr 2024 19:32:49 +0800 Subject: [PATCH] ADD file via upload --- Plant.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Plant.py 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