Änderungen
This commit is contained in:
1 parent
9d1ebda660
commit
60dc7cfd31
2 files changed
+7
-7
No files matched your search
@@ -1,11 +1,11 @@
|
||||
import pygame
|
||||
|
||||
from Moon import MOON_ANGLE, Moon
|
||||
from Moon import Moon
|
||||
from compute import rot_2D
|
||||
|
||||
APOLLO_DISTANCE = 40.0
|
||||
APOLLO_RADIUS = 5
|
||||
APOLLO_ANGLE = -2 * MOON_ANGLE
|
||||
theta = -0.02
|
||||
RED = (255, 0, 0)
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ class Apollo(Moon):
|
||||
def init_positions(self):
|
||||
super().init_positions()
|
||||
self.position_apollo = (APOLLO_DISTANCE, 0.0)
|
||||
self.rot_apollo = rot_2D(APOLLO_ANGLE)
|
||||
self.rot_apollo = rot_2D(theta)
|
||||
|
||||
def update_positions(self):
|
||||
super().update_positions()
|
||||
|
||||
Reference in new issue
Block a user