// attack event itself
final Rectangle2D area = rpentity.getArea();
area.setRect(rpentity.getX() - 0.25, rpentity.getY() - 0.25, rpentity.getWidth()
+ 2 * 0.25, rpentity.getHeight() + 2 * 0.25);
if (area.intersects(target.getArea())) {
drawStrike(g2d, rpentity, x, y, width, height);
} else {
drawDistanceAttack(g2d, rpentity, target, x, y, width, height);
}
frameBladeStrike++;