Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
worldobjectdestroyedpoll.h
1 #pragma once
2 
3 #include <functional>
4 
5 #include "utils/handle/handle.h"
6 
7 #include "eventpoll.h"
8 
9 
11 public:
12  WorldObjectDestroyedPoll(WorldObject* worldObject, const std::function<void()>& callback);
13 
14 protected:
15  Handle<WorldObject> m_worldObject;
16 
17  virtual bool poll() override;
18  virtual bool isDead() override;
19 
20 };
21 
Definition: worldobject.h:43
Definition: worldobjectdestroyedpoll.h:10
Definition: eventpoll.h:11