in procgen/src/games/coinrun.cpp [72:121]
void asset_for_type(int type, std::vector<std::string> &names) override {
if (type == PLAYER) {
for (const auto &color : PLAYER_THEME_COLORS) {
names.push_back("kenney/Players/128x256/" + color + "/alien" + color + "_stand.png");
}
} else if (type == PLAYER_JUMP) {
for (const auto &color : PLAYER_THEME_COLORS) {
names.push_back("kenney/Players/128x256/" + color + "/alien" + color + "_jump.png");
}
} else if (type == PLAYER_RIGHT1) {
for (const auto &color : PLAYER_THEME_COLORS) {
names.push_back("kenney/Players/128x256/" + color + "/alien" + color + "_walk1.png");
}
} else if (type == PLAYER_RIGHT2) {
for (const auto &color : PLAYER_THEME_COLORS) {
names.push_back("kenney/Players/128x256/" + color + "/alien" + color + "_walk2.png");
}
} else if (type == ENEMY1) {
for (const auto &enemy : WALKING_ENEMIES) {
names.push_back("kenney/Enemies/" + enemy + ".png");
}
} else if (type == ENEMY2) {
for (const auto &enemy : WALKING_ENEMIES) {
names.push_back("kenney/Enemies/" + enemy + "_move.png");
}
} else if (type == GOAL) {
names.push_back("kenney/Items/coinGold.png");
} else if (type == WALL_TOP) {
for (const auto &ground : GROUND_THEMES) {
names.push_back("kenney/Ground/" + ground + "/" + to_lower(ground) + "Mid.png");
}
} else if (type == WALL_MID) {
for (const auto &ground : GROUND_THEMES) {
names.push_back("kenney/Ground/" + ground + "/" + to_lower(ground) + "Center.png");
}
} else if (type == LAVA_TOP) {
names.push_back("kenney/Tiles/lavaTop_low.png");
} else if (type == LAVA_MID) {
names.push_back("kenney/Tiles/lava.png");
} else if (type == SAW) {
names.push_back("kenney/Enemies/sawHalf.png");
} else if (type == SAW2) {
names.push_back("kenney/Enemies/sawHalf_move.png");
} else if (type == CRATE) {
names.push_back("kenney/Tiles/boxCrate.png");
names.push_back("kenney/Tiles/boxCrate_double.png");
names.push_back("kenney/Tiles/boxCrate_single.png");
names.push_back("kenney/Tiles/boxCrate_warning.png");
}
}