const std::vector< Popup > & popups() const
static constexpr float kLife
In seconds.
void Add(const protocol::Event &event, uint32_t you)
Adds what the event shows, to the player whose id is you.
void Update(float seconds)
Ages each by the frame's time, and drops the ones past their life.
void DrawCombatText(const CombatText &text, const std::vector< Figure > &figures, const Camera3D &camera)
Draws each over the figure it's about, rising and fading as it ages.