Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
SpawnRequest Class Reference

#include <spawnrequest.h>

Collaboration diagram for SpawnRequest:
[legend]

Public Member Functions

 SpawnRequest (WorldObject *worldObject, bool deleteOnRejection=true)
 
 SpawnRequest (const std::list< WorldObject * > &worldObjects, bool deleteOnRejection=true)
 
std::list< WorldObject * > & worldObjects ()
 
bool deleteOnRejection () const
 

Protected Attributes

std::list< WorldObject * > m_worldObjects
 
bool m_deleteOnRejection
 

Detailed Description

Encapsulates the request to &God to spawn a number of &WorldObject into the &World Currently available metadata is:

  • deleteOnRejection: Controls whether the object is deleted when it can't be spawned

The documentation for this class was generated from the following files: