|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include <animator.h>
Public Member Functions | |
| Animator (Content content=Content()) | |
| std::vector< Figure > | Update (const protocol::World &world, float seconds) |
Static Public Attributes | |
| static constexpr float | kBlendTime = 0.25f |
| static constexpr float | kFollowRate = 15.0f |
| static constexpr float | kTurnRate = 4.0f * std::numbers::pi_v<float> |
Definition at line 97 of file animator.h.
Monsters and NPCs come by kind, so the animator looks up their names, in the player's language, and their looks in the content.
Definition at line 101 of file animator.h.
| std::vector< Figure > nanommo::Animator::Update | ( | const protocol::World & | world, |
| float | seconds ) |
Definition at line 150 of file animator.cc.
|
staticconstexpr |
Definition at line 104 of file animator.h.
|
staticconstexpr |
For a monster's lift: the share of the gap still left after a second is e to the minus this.
Definition at line 108 of file animator.h.
|
staticconstexpr |
Definition at line 110 of file animator.h.