Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
hardpointvoxel.h
1 #pragma once
2 
3 #include "display/rendering/visuals.h"
4 
5 #include "voxel/specialvoxel.h"
6 
7 
8 class Hardpoint;
9 
11 public:
12  HardpointVoxel(const glm::ivec3& gridCell, int index);
13 
14  virtual Visuals visuals() const override;
15 
16  virtual void addToObject(WorldObject* object) override;
17 
18  virtual void onRemoval() override;
19  virtual void onDestruction() override;
20 
21 
22 protected:
23  std::shared_ptr<Hardpoint> m_hardpoint;
24 };
25 
Definition: worldobject.h:43
Definition: specialvoxel.h:6
Definition: hardpoint.h:18
Definition: visuals.h:11
Definition: hardpointvoxel.h:10