Skip to content

Commit 880e70e

Browse files
authored
Update README.md
1 parent 2a4517a commit 880e70e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Suggested steps to complete this assignment
88
1. Start a new program in Processing called `AsteroidsGame`.
99
1. Copy the code in `AsteroidsGame.pde` into your program.
1010
1. Open a new tab and name it `Spaceship.pde`. Copy the class definition from `Spaceship.pde` above. Do the same for `Floater.pde` and `Star.pde`.
11-
4. Write the `Spaceship` constructor. Make sure you initialize all 9 of the inherited `protected` member variables. You may find You may find the [Asteroids Part 1 slide presentation](https://docs.google.com/presentation/d/1xEIchvoA0s2BO-HB8g9wjk1jSBH8sq9Gtkij5Y7slOs/edit) and the [Spaceship design worksheet](https://drive.google.com/file/d/0Bz2ZkT6qWPYTRDJvNUJRdXFjNGs/view?usp=sharing) helpful. You may also find [this sample Spaceship program](https://apcslowell.github.io/AsteroidsVariableDemoV2/) helpful in understanding how the `protected Floater` variables affect the Spaceship's movement.
11+
4. Write the `Spaceship` constructor. Make sure you initialize all 9 of the inherited `protected` member variables. You may find You may find the [Asteroids Part 1 slide presentation](https://docs.google.com/presentation/d/1xEIchvoA0s2BO-HB8g9wjk1jSBH8sq9Gtkij5Y7slOs/edit) and the [Spaceship design worksheet](https://docs.google.com/document/d/1W4UuAc4IZeMx4xOUtUW0CZB_QN8SpxVv9iyBRmr58lA/edit?usp=sharing) helpful. You may also find [this sample Spaceship program](https://apcslowell.github.io/AsteroidsVariableDemoV2/) helpful in understanding how the `protected Floater` variables affect the Spaceship's movement.
1212
5. At the top of `AsteroidsGame.pde`, declare a variable of type `Spaceship`
1313
6. Initialize the `Spaceship` as a new instance of the class
1414
7. In `draw()` in `AsteroidsGame.pde` call the Spaceship's `show()` function

0 commit comments

Comments
 (0)