added load npcs from json

This commit is contained in:
Vlad committed 2026-04-11 15:30:29 +06:00
1 parent b3fda88784
commit 943b6b4d21
6 files changed
+208 -4

No files matched your search

+2 -2
View File
@@ -14,9 +14,9 @@ void Character::loadAnimation(AnimationState state, const std::string& filename,
}
}
void Character::setTexture(std::shared_ptr<Texture> tex) {
/*void Character::setTexture(std::shared_ptr<Texture> tex) {
texture = tex;
}
}*/
void Character::setTarget(const Eigen::Vector3f& target,
std::function<void()> onArrived) {