pacman/lib/Position.hpp
Corentin Jabot f911f6e2a8 Eat pellets
2021-06-16 13:59:16 +02:00

12 lines
189 B
C++

#pragma once
#include <SDL2/SDL_rect.h>
struct Position {
float x;
float y;
};
inline bool operator==(const SDL_Point & b, const Position & a) {
return a.x == b.x && a.y == b.y;
}