6 #include "equipment/enginepower.h"
7 #include "equipment/enginestate.h"
29 void addEngineSlot(std::shared_ptr<EngineSlot> engineSlot);
30 void removeEngineSlot(
const EngineSlot* engineSlot);
36 std::shared_ptr<EngineSlot> engineSlot(
int index);
37 std::list<std::shared_ptr<EngineSlot>>& engineSlots();
55 void setEngineState(
const EngineState& engineState);
58 void addHardpoint(std::shared_ptr<Hardpoint> hardpoint);
59 void removeHardpoint(
const Hardpoint* hardpoint);
65 std::shared_ptr<Hardpoint> hardpoint(
int index);
66 std::list<std::shared_ptr<Hardpoint>>& hardpoints();
73 void fireAtPoint(
const glm::vec3& point);
79 void update(
float deltaSec);
86 std::list<std::shared_ptr<EngineSlot>> m_engineSlots;
87 std::list<std::shared_ptr<Hardpoint>> m_hardpoints;
Definition: enginepower.h:22
Definition: worldobject.h:43
Definition: hardpoint.h:18
Definition: engineslot.h:17
Definition: worldobjectcomponents.h:22
Definition: abstractmove.h:5
Definition: hardpointvoxel.h:10