#pragma once #include /** * The modes of pieces distribution managed by the app */ enum DistributionMode { DEFAULT, UNIFORM, CUSTOM }; /** * @return A string containing the name of the given distribution mode */ inline std::string getPiecesDistributionName(DistributionMode distributionMode) { static const std::string DISTRIBUTION_NAMES[] = { "DEFAULT", "UNIFORM", "CUSTOM" }; return DISTRIBUTION_NAMES[distributionMode]; }