Thrive
Classes | Public Member Functions | Static Public Member Functions | List of all members
thrive::CompoundAbsorberSystem Class Reference

Despawns compounds for CompoundAbsorberComponent. More...

#include <compound_absorber_system.h>

Inheritance diagram for thrive::CompoundAbsorberSystem:
thrive::System

Classes

struct  Implementation
 

Public Member Functions

 CompoundAbsorberSystem ()
 Constructor.
 
 ~CompoundAbsorberSystem ()
 Destructor.
 
void init (GameState *gameState) override
 Initializes the system. More...
 
void shutdown () override
 Shuts the system down.
 
void update (int, int) override
 Updates the system.
 
- Public Member Functions inherited from thrive::System
 System ()
 Constructor.
 
virtual ~System ()=0
 Destructor.
 
virtual void activate ()
 Called by GameState::activate() More...
 
virtual void deactivate ()
 Called by GameState::deactivate() More...
 
bool enabled () const
 Whether this system is enabled. More...
 
Engine * engine () const
 The system's engine. More...
 
EntityManager * entityManager () const
 Returns the system's entity manager. More...
 
GameState * gameState () const
 Returns the system's game state. More...
 
virtual void initNamed (std::string name, GameState *gameState)
 Initializes the system and gives it a name. More...
 
std::string getName ()
 Returns system name.
 
void setEnabled (bool enabled)
 Sets the enabled status of this system. More...
 

Static Public Member Functions

static luabind::scope luaBindings ()
 Lua bindings. More...
 
- Static Public Member Functions inherited from thrive::System
static luabind::scope luaBindings ()
 Lua bindings. More...
 

Detailed Description

Despawns compounds for CompoundAbsorberComponent.

Member Function Documentation

void CompoundAbsorberSystem::init ( GameState *  gameState)
overridevirtual

Initializes the system.

Parameters
gameState

Reimplemented from thrive::System.

luabind::scope CompoundAbsorberSystem::luaBindings ( )
static

Lua bindings.

Exposes:

Returns

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