#include "client/render/gui/ImGuiTeamColor.h"

namespace td {
namespace render {

ImVec4 GetImGuiTeamColor(game::TeamColor color) {
	switch (color) {
	case td::game::TeamColor::None:
		break;
	case td::game::TeamColor::Red:
		return ImVec4(1, 0, 0, 1);
	case td::game::TeamColor::Blue:
		return ImVec4(0, 0, 1, 1);
	}
	return ImVec4(1, 1, 1, 1);
}

} // namespace render
} // namespace td
