Make it possible use GridPosition with emplace_back
This commit is contained in:
parent
30f69464dd
commit
eb36d24b31
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ struct Position {
|
|||
struct GridPosition {
|
||||
size_t x;
|
||||
size_t y;
|
||||
constexpr GridPosition(size_t x, size_t y) : x(x), y(y) {}
|
||||
};
|
||||
|
||||
using Rect = sf::Rect<int>;
|
||||
|
|
Loading…
Reference in a new issue