#include <DestroyerStrategy.h>
Public Member Functions | |
DestroyerStrategy () | |
~DestroyerStrategy (void) | |
Protected Member Functions | |
void | process () |
void | onEvent (LargeDisplayEvent *evt) |
Protected Attributes | |
std::vector< unsigned long > | warnedComponentIDs |
std::vector< unsigned long > | readyComponentIDs |
DestroyerStrategy::DestroyerStrategy | ( | ) |
Constructs a destroyer strategy with the image given by the specified texture name.
DestroyerStrategy::~DestroyerStrategy | ( | void | ) |
Destroys this strategy.
void DestroyerStrategy::process | ( | ) | [protected] |
Performs a given action before rendering the component.
void DestroyerStrategy::onEvent | ( | LargeDisplayEvent * | evt | ) | [protected] |
Handles the given event.
evt | the event to be handled. |
std::vector<unsigned long> DestroyerStrategy::warnedComponentIDs [protected] |
The list of the identifiers of the child components that were warned to prepare to die.
std::vector<unsigned long> DestroyerStrategy::readyComponentIDs [protected] |
The lst of the identifiers of the child components that are ready to die.