So, I have been trying to create a heartstone like card game.
And I want the Mana count to increase after the end turn button is pressed.
How would I go about doing this?
I would presume the button is in a world that contains the players and whose is currently at turn -- and the player has a mana counter. So, a method called 'endTurn' in the world class should suffice to add the mana and change the player which is at turn.