the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 19 lines 353 B view raw
1#pragma once 2#include "Feature.h" 3 4class Level; 5 6class OreFeature : public Feature 7{ 8private: 9 int tile; 10 int count; 11 int targetTile; 12 13 void _init(int tile, int count, int targetTile); 14public: 15 OreFeature (int tile, int count); 16 OreFeature(int tile, int count, int targetTile); 17 18 virtual bool place(Level *level, Random *random, int x, int y, int z); 19};