package com.codegym.task.task25.task2515;
import java.util.ArrayList;
import java.util.List;
public class Space {
private int width, height;
private Spaceship ship;
private List<Ufo> ufos = new ArrayList<>();
private List<Rocket> rockets = new ArrayList<>();
private List<Bomb> bombs = new ArrayList<>();
public static Space game;
public Space(int width, int height) {
this.width = width;
this.height = height;
}
public int getWidth() {
return width;
}
public int getHeight() {
return height;
}
public Spaceship getShip() {
return ship;
}
public List<Ufo> getUfos() {
return ufos;
}
public List<Rocket> getRockets() {
return rockets;
}
public List<Bomb> getBombs() {
return bombs;
}
public void setShip(Spaceship ship) {
this.ship = ship;
}
public void run() {}
public void draw() {}
public void sleep (int ms) {}
public static void main(String[] args) {}
}
how to fix it
Resolved
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Wei Cui
15 April 2020, 16:17solution
+6