]> git.localhorst.tv Git - blobs.git/blob - src/world/Resource.hpp
6250fc67ac4a9424cb305dc7e66b14f12538dfb5
[blobs.git] / src / world / Resource.hpp
1 #ifndef BLOBS_WORLD_RESOURCE_HPP_
2 #define BLOBS_WORLD_RESOURCE_HPP_
3
4 #include <string>
5
6
7 namespace blobs {
8 namespace world {
9
10 struct Resource {
11
12         std::string name;
13         std::string label;
14
15         int id;
16
17         enum State {
18                 SOLID = 0,
19                 LIQUID = 1,
20                 GAS = 2,
21                 PLASMA = 3,
22         };
23         // the resource's natural state
24         // TODO: something about temperature and pressure and stuff
25         int state;
26
27 };
28
29 }
30 }
31
32 #endif