MCPcopy Create free account
hub / github.com/AlexInLog/ReactivePlusPlus / coordinates

Class coordinates

src/examples/rpp/sfml/snake/utils.hpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12static constexpr size_t s_columns_count = 30;
13
14struct coordinates
15{
16 int x{};
17 int y{};
18
19 bool operator==(const coordinates& other) const = default;
20 bool operator!=(const coordinates& other) const = default;
21};
22
23using Direction = coordinates;
24using SnakeBody = std::vector<coordinates>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected