public void setPosition(int x, int y){
        super.setPosition(x, y);
        attackArea.setPosition(x + this.getWidth(), this.getY());
        hitEffect.setPosition(this.getX()+this.getWidth(), this.getY() + 5);
    }