X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FResource.hpp;h=6250fc67ac4a9424cb305dc7e66b14f12538dfb5;hb=b795a1df619349d45c3b0ca73e61e68ff483221c;hp=5dd383442952b53e7ee9783288840c1ad1d534dd;hpb=5e82e61db8b9ed5b9a30c9706620b62b844ac734;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; + }; }