justalemon / GGOV

Mod for GTA V that implements the HUD System and Features from Gun Gale Online
MIT License
12 stars 5 forks source link

Issue 2: Removed duplicated calculation code in CreatePoint method... #5

Closed mwanchap closed 5 years ago

mwanchap commented 5 years ago

… and replaced the only usage of it with an equivalent call to Point class constructor. @justalemon if you were planning to create lots more Point-based configuration properties in the future, there might be a better way to do this (e.g. by refactoring out the calculations out and passing a Tuple<x,y> around), but I'm assuming your UI stuff is nearly done ;)

justalemon commented 5 years ago

Thanks!