AttorneyOnline / AO2-Client

An off-the-cuff courtroom drama simulator
https://aceattorneyonline.com
GNU General Public License v3.0
63 stars 58 forks source link

Remove layer of redirection #986

Open TrickyLeifa opened 1 week ago

TrickyLeifa commented 1 week ago

Currently there is a layer of redirection for various parts of the code. One such example is the background path code. When trying to retrieve the path of a background image, AOApplication has to call a method in Courtroom just to to be able to know the current background.

Instead, the method should be provided the parameters it requires to try to resolve the path of a file. This is not limited to background pathing.