Create objects of gold bars, sprites, so each sprite representing each gold bar there will be an instance of gold variable name, this for each gold bar representing certain amount of money. Create a global variable name of money then multiply the values of the corresponding gold bars for 10 and assigns the variable money to this value.