diff --git a/ship.py b/ship.py index 66d0f7a..d10db7e 100644 --- a/ship.py +++ b/ship.py @@ -9,4 +9,6 @@ class Ship(Sprite): self.screen = screen self.ai_settings = ai_settings - \ No newline at end of file + self.image = pygame.image.load('images/ship.png') + self.rect = self.image.get_rect() + self.screen_rect = screen.get_rect() \ No newline at end of file