Question: These are my two instructions but my code is wrong A game has 1 PlayerShip called player and 3 instances of EnemyShip called enemy1,enemy2 and
public class Game // instance variables replace the example below with your own private PlayerShip player; private EnemyShip enemy1; private EnemyShip enemy2; private EnemyShip enemy3 public Game() PlayerShip player new PlayerShip(); EnemyShip enemy1new EnemyShip(); EnemyShip enemy2new EnemyShip() EnemyShip enemy3new EnemyShip()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
