7 #include "worldobjectslot.h"
24 const std::shared_ptr<Weapon>& weapon();
25 void setWeapon(
const std::shared_ptr<Weapon>& weapon);
27 const glm::vec3& direction()
const;
28 void setDirection(
const glm::vec3& direction);
30 float fieldOfAim()
const;
31 void setFieldOfAim(
float fieldOfAim);
33 bool inFieldOfAim(
const glm::vec3& point);
35 void update(
float deltaSec);
37 void onVoxelRemoval();
42 std::shared_ptr<Weapon> m_weapon;
44 glm::vec3 m_direction;
Definition: worldobjectslot.h:14
Definition: hardpoint.h:18
Definition: worldobjectcomponents.h:22
Definition: hardpointvoxel.h:10