added load npcs from json
This commit is contained in:
1 parent
b3fda88784
commit
943b6b4d21
6 files changed
+208
-4
No files matched your search
+2
-2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user