Files
Minecraft/src/world/block.hpp
2019-10-07 12:10:49 +01:00

23 lines
340 B
C++

#ifndef MINECRAFT_WORLD_BLOCK_H_
#define MINECRAFT_WORLD_BLOCK_H_
#include "../common.hpp"
struct Block {
std::string Name;
int ID;
std::vector<std::pair<int, std::string>> Textures;
};
static std::vector<std::pair<int, std::string>> TextureIdsAndPaths {
{0, "dirt.png"},
{1, "grass_side.png"},
{2, "grass_top.png"}
};
#endif