1 #ifndef BLANK_MODEL_SKELETONS_HPP_
2 #define BLANK_MODEL_SKELETONS_HPP_
17 using size_type = std::size_t;
18 using reference = Model &;
19 using const_reference = const Model &;
28 size_type size() const noexcept { return skeletons.size(); }
30 reference operator[](size_type i) noexcept { return *skeletons[i]; }
31 const_reference operator[](size_type i) const noexcept { return *skeletons[i]; }
33 Model *ByID(std::uint16_t) noexcept;
34 const Model *ByID(std::uint16_t) const noexcept;
37 std::vector<std::unique_ptr<Model>> skeletons;
38 std::vector<EntityMesh> meshes;