Struct ResourceReceivingService

Struct Documentation

struct dish2::ResourceReceivingService

Calculates total amount of resource received across every cardinal, and then adds that total to resource stockpile.

If the cell is not alive, it instead refunds all received resources back to each sending cell.

Public Static Functions

bool ShouldRun(const size_t update, const bool alive)
template<typename Cell>
void DoService(Cell &cell)