Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
|
Functions | |
bool | TransferResources (entt::registry ®istry, entt::entity from, entt::entity to, entt::entity good, double amount) |
Transfers resources from the first entity to the second More... | |
bool cqsp::common::systems::resource::TransferResources | ( | entt::registry & | registry, |
entt::entity | from, | ||
entt::entity | to, | ||
entt::entity | good, | ||
double | amount | ||
) |
Transfers resources from the first entity to the second
registry | Registry to transfer |
from | Needs to be a resource stockpile |
to | Needs to be a resource stockpile |
good | good to transfer |
amount | amount of resources to transfer |