Code cleanup
This commit is contained in:
@@ -207,7 +207,4 @@ class GOIMAGE(GameObject):
|
||||
|
||||
def draw(self):
|
||||
surface = self.get_surface()
|
||||
surface.blit(self.__image, self.get_position())
|
||||
pass
|
||||
|
||||
|
||||
surface.blit(self.__image, self.get_position())
|
||||
@@ -103,7 +103,7 @@ while active == True:
|
||||
for event in pygame.event.get():
|
||||
if (event.type == pygame.QUIT):
|
||||
print("Programm wird geschlossen!")
|
||||
print(spawned_entities, end="\n")
|
||||
#print(spawned_entities, end="\n")
|
||||
active = False
|
||||
elif (event.type == pygame.KEYDOWN):
|
||||
if (event.key == pygame.K_UP):
|
||||
|
||||
Reference in New Issue
Block a user