Skip to content

Commit

Permalink
add update fxn
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikerniker committed Dec 19, 2024
1 parent 3e422fb commit 91fc2d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Day95/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def create_aliens(self):
self.add_widget(alien)
self.aliens.append(alien)

def update(self, dt):
# self.alien.move()
for alien in self.aliens:
alien.move()

class SpaceApp(App):
def build(self):
Expand Down

0 comments on commit 91fc2d7

Please sign in to comment.