Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
voxelexplosiongenerator.h
1 #pragma once
2 #include <glm/glm.hpp>
3 
4 #include "property/property.h"
5 #include "voxelparticlespawnbase.h"
6 
7 class VoxelCluster;
8 class Transform;
9 
11 public:
12  VoxelExplosionGenerator(const VoxelCluster* creator);
13  virtual ~VoxelExplosionGenerator();
14 
15  void setRadius(float radius);
16  void setCount(int count);
17 
18  void spawn();
19 
20 protected:
21  float m_radius;
22  int m_count;
23 
24  float createScale();
25 };
Definition: voxelcluster.h:21
Definition: voxelexplosiongenerator.h:10
Definition: transform.h:9
Definition: voxelparticlespawnbase.h:10