Take a Shot: Part 1
Zarrar Chishti · Apress eBooks · 2017
In this chapter, we’ll work on what we want our gun to do. When the user presses anywhere on the screen, apart from the Reload button, it should be treated as a shot. How a shot happens and the consequences of a shot are dealt with in Chapter 7. For now, let’s look at reacting to a user click.