the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 22 lines 552 B view raw
1#include "stdafx.h" 2#include "SmallButton.h" 3 4SmallButton::SmallButton(int id, int x, int y, const wstring& msg) : Button(id, x, y, 150, 20, msg) 5{ 6 this->option = NULL; 7} 8 9SmallButton::SmallButton(int id, int x, int y, int width, int height, const wstring& msg) : Button(id, x, y, width, height, msg) 10{ 11 this->option = NULL; 12} 13 14SmallButton::SmallButton(int id, int x, int y, const Options::Option *item, const wstring& msg) : Button(id, x, y, 150, 20, msg) 15{ 16 this->option = item; 17} 18 19const Options::Option *SmallButton::getOption() 20{ 21 return option; 22}