Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
worldobjectcollision.h
1 #pragma once
2 
3 #include <list>
4 
5 #include "voxelcollision.h"
6 
7 class WorldObject;
9 
10 
12 public:
13  WorldObjectCollision(WorldObject* worldObjectA, WorldObject* worldObjectB);
14 
15  WorldObject* worldObjectA();
16  WorldObject* worldObjectB();
17 
18  std::list<VoxelCollision>& voxelCollisions();
19  void addVoxelCollision(VoxelCollision& voxelCollision);
20 
21 
22 protected:
23  WorldObject* m_worldObjectA;
24  WorldObject* m_worldObjectB;
25  std::list<VoxelCollision> m_voxelCollisions;
26 };
Definition: worldobjectcollision.h:11
Definition: worldobject.h:43
Definition: voxelcollision.h:22