Aktualisierung

This commit is contained in:
yildizse104272 committed 2026-10-22 16:27:21 +02:00
1 parent 863bb21df7
commit 2ae8a2438a
6 files changed
+229 -17

No files matched your search

+3 -4
View File
@@ -14,8 +14,8 @@ class Apollo(Moon):
result = matmul(self.rot_apollo, point) #apollo wird mit dr rotationsmatrix gedreht
self.position_apollo = (result[0][0], result[1][0]) #koordinaten werden gespeichert
return True
def draw_game(self):
super().draw_game()
def draw_content(self):
super().draw_content()
center_x = self.size[0] // 2 #mittelpunkt bestimmen
center_y = self.size[1] // 2
@@ -34,12 +34,11 @@ class Apollo(Moon):
pygame.draw.circle(
self.screen,
(255, 0, 0),
(255, 50, 50),
(int(apollo_x), int(apollo_y)),
5
)
pygame.display.flip()
if __name__ == "__main__":
apollo = Apollo()