update method

void update ()

Updates the Entity coordinates with it´s dy and dx values

Implementation

void update() {
  this.x += this.getDx();
  this.y += this.getDy();
  return;
}