Yep. I am trying that and it seems to make more sense.
Playsound() will call mediamanager.playsound(). MediaManager playsound() loads the sound if needed (it loads most media files are startup) and then plays it.
The same thing happened with Game.Playsound().
Maybe using functions is frowned upon rather than methods? Maybe the wrapper messes up encapsulation (or whatever it's called) but that would be solved by get/set stuff.
Maybe it really doesn't matter! It doesn't seem to but I wouldn't want to spends weeks only to find some stupid architecture mistake is stuffing me.
Playsound() will call mediamanager.playsound(). MediaManager playsound() loads the sound if needed (it loads most media files are startup) and then plays it.
The same thing happened with Game.Playsound().
Maybe using functions is frowned upon rather than methods? Maybe the wrapper messes up encapsulation (or whatever it's called) but that would be solved by get/set stuff.
Maybe it really doesn't matter! It doesn't seem to but I wouldn't want to spends weeks only to find some stupid architecture mistake is stuffing me.