#include "Chunk.hpp"
#include "EntityDerivative.hpp"
#include "EntityState.hpp"
+#include "Steering.hpp"
#include "../geometry/primitive.hpp"
#include "../model/Instance.hpp"
Entity(const Entity &) noexcept;
Entity &operator =(const Entity &) = delete;
+ Steering &GetSteering() noexcept { return steering; }
+ const Steering &GetSteering() const noexcept { return steering; }
+
bool HasController() const noexcept { return ctrl; }
// entity takes over ownership of controller
void SetController(EntityController *c) noexcept;
private:
+ Steering steering;
EntityController *ctrl;
Instance model;