|
|
@@ -349,7 +349,7 @@ class Main: |
|
|
|
sunset_start + (sunset_end - sunset_start) / 2) |
|
|
|
|
|
|
|
jojoko: pygame.Surface = cls.get_jojoko (jojoko_original, |
|
|
|
moon_days_old) |
|
|
|
moon_days_old, moon_alt) |
|
|
|
|
|
|
|
dt: datetime = datetime.now () |
|
|
|
|
|
|
@@ -391,9 +391,10 @@ class Main: |
|
|
|
@staticmethod |
|
|
|
def get_jojoko ( |
|
|
|
jojoko_original: pygame.Surface, |
|
|
|
moon_days_old: float) \ |
|
|
|
moon_days_old: float, |
|
|
|
moon_alt: float) \ |
|
|
|
-> pygame.Surface: |
|
|
|
jojoko: pygame.Surface = jojoko_original.copy () |
|
|
|
jojoko: pygame.Surface = pygame.transform.rotate (jojoko_original, -moon_alt) |
|
|
|
|
|
|
|
jojoko.set_colorkey ((0, 255, 0)) |
|
|
|
|
|
|
|