i am making a homlessness game and i cant find a easier way to display the amount of money you have left without using a class with a number image so i basically have 1 through 50 classes and all have numbers as images and in my main character i have public void
etc.. FOR. EVERY. NUMBER. is there any easier way to display a number so for example
thanks in advance and if that the only way then i am okay with that i am pretty sure there is a way easier way to do this
1 2 3 4 5 6 | checkMoney() { if (money == 1 )) { getWorld().addObject(One, } |
1 2 3 4 5 6 7 8 9 10 | public void CheckMoney() { if (money == 1 )) { ***DISPLAY NUMBER USING A DIFFERENT WAY THAN ADDING A CLASS*** } } |