removed some old print statements
This commit is contained in:
parent
2b2c2d946a
commit
63a87c12dd
@ -21,7 +21,6 @@ class SpriteSheet:
|
|||||||
# Load in whole sprite sheet as one image.
|
# Load in whole sprite sheet as one image.
|
||||||
sprite_sheet = pygame.image.load(sprite_sheet).convert_alpha()
|
sprite_sheet = pygame.image.load(sprite_sheet).convert_alpha()
|
||||||
self.images = []
|
self.images = []
|
||||||
print(type(self.images))
|
|
||||||
|
|
||||||
# Get the sprite sheet json file.
|
# Get the sprite sheet json file.
|
||||||
with open(texture_json, 'r') as json_file:
|
with open(texture_json, 'r') as json_file:
|
||||||
@ -97,7 +96,6 @@ class SelectionEgg(pygame.sprite.Sprite):
|
|||||||
|
|
||||||
# Get the rectangle from the first image in the list
|
# Get the rectangle from the first image in the list
|
||||||
self.rect = self._images[0].get_rect()
|
self.rect = self._images[0].get_rect()
|
||||||
print(type(self.rect))
|
|
||||||
self._index = 0
|
self._index = 0
|
||||||
self.image = self._images[self._index]
|
self.image = self._images[self._index]
|
||||||
|
|
||||||
|
@ -37,4 +37,3 @@ class Surface(pygame.Surface):
|
|||||||
if event.type == pygame.KEYDOWN:
|
if event.type == pygame.KEYDOWN:
|
||||||
if event.key == pygame.K_b:
|
if event.key == pygame.K_b:
|
||||||
self.running = False
|
self.running = False
|
||||||
print('stop')
|
|
||||||
|
Loading…
Reference in New Issue
Block a user