Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
spawnrequest.h
1 #pragma once
2 
3 #include <list>
4 
5 
6 class WorldObject;
7 
14 class SpawnRequest {
15 public:
16  SpawnRequest(WorldObject* worldObject, bool deleteOnRejection = true);
17  SpawnRequest(const std::list<WorldObject*>& worldObjects, bool deleteOnRejection = true);
18 
19  std::list<WorldObject*>& worldObjects();
20  bool deleteOnRejection() const;
21 
22 
23 protected:
24  std::list<WorldObject*> m_worldObjects;
25  bool m_deleteOnRejection;
26 };
Definition: worldobject.h:43
Definition: spawnrequest.h:14