Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
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
10
class
WorldObjectDestroyedPoll
:
public
EventPoll
{
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
WorldObject
Definition:
worldobject.h:43
WorldObjectDestroyedPoll
Definition:
worldobjectdestroyedpoll.h:10
EventPoll
Definition:
eventpoll.h:11
Handle< WorldObject >
src
events
worldobjectdestroyedpoll.h
Generated on Sun Mar 30 2014 13:32:31 for Voxellancer by
1.8.6