Crain-32 / Multiworld_Client

MIT License
1 stars 4 forks source link

Seperation of dolphin logic #9

Closed jaysc closed 2 years ago

jaysc commented 2 years ago

There is now a clear seperation between game handling commands and dolphin commands. Currently gameHandler will always create a new dolphin instance, but this can be changed due to the usage of an abstract class.

Client/dolphinGameHandler.py handles the direct interface between the client and dolphin. We expect all dolphin related code to sit within this file. Uses the abstract class.

Client/gameHandler.py handles the logic between the client and the console. Console being both dolphin and the Wii. We should not expect and dolphin specific code here.

Things to look into

Crain-32 commented 2 years ago

I agree with what you mentioned about changing read_chest_items in the Abstract class.

We can leave for that another commit though.