Browse Source

#31 tyotto

ai-migration
みてるぞ 1 month ago
parent
commit
80dc32dbb7
1 changed files with 7 additions and 5 deletions
  1. +7
    -5
      test.py

+ 7
- 5
test.py View File

@@ -115,11 +115,12 @@ class Game:
sky (Sky): 天体情報
"""

clock: Clock
frame: int
redrawers: list[Redrawer]
screen: Surface
sky: Sky
clock: Clock
frame: int
last_answered_at: datetime
redrawers: list[Redrawer]
screen: Surface
sky: Sky

def __init__ (
self,
@@ -383,6 +384,7 @@ class Balloon (GameObject):
) -> None:
if self.frame >= self.length:
self.enabled = False
self.game.last_answered_at = datetime.now ()
return
query = self.query
if CommonModule.len_by_full (query) > 21:


Loading…
Cancel
Save