Opencode gesagt er soll die Docstrings und Type hints noch ergänzen
This commit is contained in:
1 parent
a8901dae2f
commit
cb85e8b86c
4 files changed
+13
-14
No files matched your search
@@ -23,7 +23,7 @@ class Apollo(Moon):
|
||||
super().__init__(title, fps, size)
|
||||
self.position_apollo: Point = (APOLLO_DISTANCE, 0.0) # relativ zum Mond
|
||||
# doppelte Winkelgeschwindigkeit, entgegengesetzte Drehrichtung
|
||||
self.rot_apollo = rot_2d(-2 * self.theta, unit="rad")
|
||||
self.rot_apollo: list[list[float]] = rot_2d(-2 * self.theta, unit="rad")
|
||||
|
||||
def update_game(self) -> bool:
|
||||
"""Bewegt erst den Mond, dann Apollo."""
|
||||
@@ -44,4 +44,4 @@ class Apollo(Moon):
|
||||
|
||||
if __name__ == "__main__":
|
||||
apollo = Apollo()
|
||||
apollo.run()
|
||||
apollo.run()
|
||||
Reference in new issue
Block a user