14#include <unordered_set>
15#include <unordered_map>
38 inline std::ostream &
operator<<(std::ostream &os,
const bool &item)
58 template<
typename T1,
typename T2>
59 inline std::ostream &
operator<<(std::ostream &os,
const std::pair<T1, T2> &item)
79 inline std::ostream &
operator<<(std::ostream &os,
const std::vector<T> &
set)
98 template<
typename Key,
typename Value>
99 inline std::ostream &
operator<<(std::ostream &os,
const std::unordered_map<Key, Value> &map)
139 inline std::ostream &
operator<<(std::ostream &os,
const std::unordered_set<T> &
set)
326using Utilities::operator<<;
ActiveScreen
This is the enum class in charge of the window switcher code. This enum allows the mainloop of the pr...
Enum for the different types of messages that can be eschanged with the server.
Provides custom string conversion functions as alternatives to std::to_string.
ActiveShape
Enum representing different types of shapes managed by the ShapeComponent.
MessageType
Enum for the different message types in the UDP protocol.
const std::string myToString(const Rect< RectType > &rectangle)
Converts a Rect<T> object to its string representation.
std::ostream & operator<<(std::ostream &os, const bool &item)
Outputs a boolean value to the given output stream using a custom string representation.
lib set(SERVER_SOURCES main.cpp src/server.cpp src/client_manager.cpp src/game_manager.cpp) add_executable(r-type_server $