Closed HacktheTime closed 5 months ago
I don't think i want my code to have this. Especially since tinting textures is rather rare of a thing to do, and this just adds a lot of extra parameters (=bad). Also i have multiple texture rendering methods and i dont want to duplicate all of those parameters anyway. The extra method is fine.
added default parameters to the texture rendering method in the FacingThePlayerContext class as well as storing the original color value away and restoring it after the texture rendering is completed. transparency and other values like red, green, and blue can be modified if wanted but have defaults.