X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FResource.hpp;h=6250fc67ac4a9424cb305dc7e66b14f12538dfb5;hb=2025d49798b93180237b6ce62d3ff5d6ee8ebc6e;hp=5dd383442952b53e7ee9783288840c1ad1d534dd;hpb=7ae2bd120fd0e1800edc9cbeb61e72bd06ffcf10;p=blobs.git diff --git a/src/world/Resource.hpp b/src/world/Resource.hpp index 5dd3834..6250fc6 100644 --- a/src/world/Resource.hpp +++ b/src/world/Resource.hpp @@ -14,6 +14,16 @@ struct Resource { int id; + enum State { + SOLID = 0, + LIQUID = 1, + GAS = 2, + PLASMA = 3, + }; + // the resource's natural state + // TODO: something about temperature and pressure and stuff + int state; + }; }