I'm going to add a instance variable to help me keep track. If you use the shoot() method, and it produces a result, enemiesUp... how would you mathematically do that? Cause, enemiesUp = enemiesUp...
Type: Posts; User: Silvanoshei
I'm going to add a instance variable to help me keep track. If you use the shoot() method, and it produces a result, enemiesUp... how would you mathematically do that? Cause, enemiesUp = enemiesUp...
Suppose your writing a simple game code and you want to have the user select any number of stages and each stage has 10 enemies and you only get 2 shots per stage (that the user can input). Lets...