3#include <unordered_map>
ComponentTypeID GetComponentTypeID_Static()
void SetSize(int w, int h)
bool GetViewRectForPlayer(short playerID, SDL_FRect &outRect) const
std::unordered_map< short, int > m_playerIndexMap
void Initialize(int w, int h)
std::vector< SDL_FRect > m_viewRects
ViewportLayout m_currentLayout
static ViewportManager & Get()
bool AddPlayer(short playerID, ViewportLayout viewportLayout)
const std::vector< SDL_FRect > & GetViewRects() const
std::vector< short > m_players
static ViewportManager & GetInstance()
int GetPlayerCount() const
const std::vector< short > & GetPlayers() const
bool RemovePlayer(short playerID)