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