April 2018
Beginner
714 pages
18h 21m
English
First, we added a setupRod() helper function that creates a new rod and connects its signal to the new rodClicked() function. Then we simply called setupRod() for each index and accumulated the rod object into the rods array. The rodClicked() function will contain the rest of our game logic, but for now it only prints the index of the clicked rod to the application output.
Read now
Unlock full access