Mario: add turtle enemy
This commit is contained in:
@@ -371,6 +371,7 @@ SceneStruct mainGameScene(const std::string &level_path) {
|
||||
moving_objects.push_back(mario);
|
||||
std::unordered_set<int> moving_object_ids = {
|
||||
GOOMBA_ID,
|
||||
TURTLE_ID,
|
||||
};
|
||||
for (auto &obj : scene->getObjects(moving_object_ids)) {
|
||||
moving_objects.push_back(std::dynamic_pointer_cast<MarioBlock>(obj));
|
||||
|
||||
Reference in New Issue
Block a user