I have a class whose primary purpose is to create and manage other classes in my game. One of its variables is an int that keeps track of the players money. It is also creating towers which are objects of their own. However the tower classes that it creates need to have a way of accessing the money integer (so they know if the player has funds for upgrading them).
I know I could store the money int in a class of its own and toss it around, but I would like to avoid this if there is a simpler way to access this variable.