1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifndef CLIENT_STATE_ENTITIES_HH_ #define CLIENT_STATE_ENTITIES_HH_ #include <memory> #include <unordered_map> #include "client/entity/entity.hh" namespace client { using entities_t = std::unordered_map<shared::entity::index_t, std::unique_ptr<client::entity>>; namespace state { inline entities_t entities; } // namespace state } // namespace client #endif