]> git.localhorst.tv Git - blobs.git/blobdiff - src/world/Resource.hpp
figure out our creature's metabolism
[blobs.git] / src / world / Resource.hpp
index 5dd383442952b53e7ee9783288840c1ad1d534dd..6250fc67ac4a9424cb305dc7e66b14f12538dfb5 100644 (file)
@@ -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;
+
 };
 
 }