]> git.lizzy.rs Git - dragonblocks-bedrock.git/blob - src/util.h
Some structure Changes
[dragonblocks-bedrock.git] / src / util.h
1 #ifndef _UTIL_H_
2 #define _UTIL_H_
3 #include <string>
4 class color{
5         public:
6                 float red;
7                 float green;
8                 float blue;
9                 color(const char *);
10                 color(float, float, float);
11 };
12 class position{
13         public:
14                 int x;
15                 int y;
16 };
17
18 int random(int, int);
19 void create_dir_if_not_exists(std::string d);
20 #endif