|
@@ -10,9 +10,9 @@ namespace WalrusRPG
|
|
|
signed x, y;
|
|
signed x, y;
|
|
|
unsigned width, height;
|
|
unsigned width, height;
|
|
|
// We don't need a source file for two inline functions.
|
|
// We don't need a source file for two inline functions.
|
|
|
- Rect(unsigned x_, unsigned y_, signed width_, signed height_)
|
|
|
|
|
|
|
+ Rect(signed x_, signed y_, unsigned width_, unsigned height_)
|
|
|
: x(x_), y(y_), width(width_), height(height_){};
|
|
: x(x_), y(y_), width(width_), height(height_){};
|
|
|
- Rect(unsigned x_, unsigned y_) : Rect(x_, y_, 0, 0){};
|
|
|
|
|
|
|
+ Rect(signed x_, signed y_) : Rect(x_, y_, 0, 0){};
|
|
|
Rect() : Rect(0, 0, 0, 0){};
|
|
Rect() : Rect(0, 0, 0, 0){};
|
|
|
};
|
|
};
|
|
|
}
|
|
}
|