X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FResource.hpp;fp=src%2Fworld%2FResource.hpp;h=ad729c80160d8c84973a4a751d62458f1a397437;hb=a1b5d6dbc13d185b9ac459e421ae44b3ef8ce133;hp=3abe8f3b83c11f4b5fb57d2b8304bf46d83eab2c;hpb=392826deaf802ac0960ed3924a3f98b9d18d381b;p=blobs.git diff --git a/src/world/Resource.hpp b/src/world/Resource.hpp index 3abe8f3..ad729c8 100644 --- a/src/world/Resource.hpp +++ b/src/world/Resource.hpp @@ -15,6 +15,8 @@ struct Resource { std::string label = ""; double density = 1.0; + double energy = 1.0; + double inverse_energy = 1.0; int id = -1;