public Asteroid(Vector2 pos, int size, double speed, Vector2 direction) { this.pos = pos; this.size = size; this.speed = speed; this.direction = direction; player = new Player(); }
public Asteroid(int posX, int posY, int size, float speed, Vector2 direction) { this.posX = posX; this.posY = posY; this.size = size; this.speed = speed; this.direction = direction; player = new Player(); }
public Asteroid() { player = new Player(); }