1#ifndef NANOMMO_CLIENT_TELEGRAPHS_H_
2#define NANOMMO_CLIENT_TELEGRAPHS_H_
8#include "protocol/nanommo.pb.h"
31 static constexpr float kLate = 0.25f;
39 void Update(
const protocol::World& world,
float seconds);
42 const std::map<uint32_t, Telegraph>&
shown()
const {
return shown_; }
45 std::map<uint32_t, monsters::Kind> kinds_;
46 std::map<uint32_t, Telegraph> shown_;
Telegraphs(const MonsterTable &monsters)
static constexpr float kLate
void Update(const protocol::World &world, float seconds)
const std::map< uint32_t, Telegraph > & shown() const
By the monster's id.
The kinds of monster, by id, and where they spawn.
In metres from the middle of a land.
float Filled() const
How far its shape has filled, from 0 as it shows to 1 as it lands.