1 #ifndef BLOBS_WORLD_CREATURE_HPP_
2 #define BLOBS_WORLD_CREATURE_HPP_
4 #include "../graphics/glm.hpp"
5 #include "../graphics/SimpleVAO.hpp"
25 Creature(const Creature &) = delete;
26 Creature &operator =(const Creature &) = delete;
28 Creature(Creature &&) = delete;
29 Creature &operator =(Creature &&) = delete;
32 void SetBody(Body &b) noexcept { body = &b; }
33 Body &GetBody() noexcept { return *body; }
34 const Body &GetBody() const noexcept { return *body; }
36 void Surface(int s) noexcept { surface = s; }
37 void Position(const glm::dvec3 &p) noexcept { position = p; }
39 glm::dmat4 LocalTransform() noexcept;
42 void Draw(app::Assets &, graphics::Viewport &);
54 graphics::SimpleVAO<Attributes, unsigned short> vao;