Space Invaders (Part 22/34)

  • 3
  • Locked
Let's add a new property to the player's ship: direction. We'll set it through a setter method. The ship can move in two directions: left or right. But it can also hold still, so we'll use "up" to represent this state. The ship isn't moving when the game starts, so we'll set the ship's default dire
You can't complete this task, because you're not signed in.
  • Popular
  • New
  • Old
You must be signed in to leave a comment
This page doesn't have any comments yet