move method
Updates the Entity's moving parameters, e.g. dx and dy
Implementation
void move(double dx, double dy) {
this.dx = dx;
this.dy = dy;
}
Updates the Entity's moving parameters, e.g. dx and dy
void move(double dx, double dy) {
this.dx = dx;
this.dy = dy;
}