private void updateCollisionRectangle(double x, double y, int width, int height) { _collisionRectangle.x = x - 2; _collisionRectangle.y = y - 2; _collisionRectangle.width = width + 2; _collisionRectangle.height = height + 2; }