LeoTrain / MarioIsaac

0 stars 1 forks source link

Changes for game.py #8

Closed LeoTrain closed 5 days ago

LeoTrain commented 2 weeks ago

I saw that we handle_input in main_menu. Maybe we could do the same for player enemies, etc...

hanneswirnsberger commented 2 weeks ago
  • Split up handle_events
  • Create a dictionary for the run method

I saw that we handle_input in main_menu. Maybe we could do the same for player enemies, etc...

Create a dictionary for the run method -> you mean something like event_dick?

LeoTrain commented 2 weeks ago

I think you mean making the run method event based, that's not a bad idea. But I thought about making a small dictionary to make the run method cleaner.

hanneswirnsberger commented 2 weeks ago

Like event dick right? Need to check it, lets discuss later

LeoTrain commented 2 weeks ago

Yes a dictionary halt wie event_dick

hanneswirnsberger commented 2 weeks ago

Top👍