Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Pages
god.h
1
#pragma once
2
3
#include <list>
4
5
#include "spawnrequest.h"
6
7
8
class
WorldObject
;
9
class
World
;
10
19
class
God
{
20
public
:
21
God
(
World
& world);
22
virtual
~
God
();
23
24
void
scheduleSpawn(
SpawnRequest
spawnRequest);
25
26
void
scheduleRemoval(
WorldObject
*worldObject);
27
void
scheduleRemovals(
const
std::list<WorldObject*> &removals);
28
29
void
spawn();
30
void
remove
();
31
32
33
protected
:
34
World
& m_world;
35
std::list<SpawnRequest> m_spawnRequests;
36
std::list<WorldObject*> m_scheduledRemovals;
37
};
WorldObject
Definition:
worldobject.h:43
World
Definition:
world.h:20
God
Definition:
god.h:19
SpawnRequest
Definition:
spawnrequest.h:14
src
world
god.h
Generated on Sun Mar 30 2014 13:32:32 for Voxellancer by
1.8.6