the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 34 lines 328 B view raw
1#pragma once 2 3#include "Position.h" 4 5class PositionImpl : public Position 6{ 7protected: 8 double x; 9 double y; 10 double z; 11 12public: 13 PositionImpl(double x, double y, double z) 14 { 15 this->x = x; 16 this->y = y; 17 this->z = z; 18 } 19 20 double getX() 21 { 22 return x; 23 } 24 25 double getY() 26 { 27 return y; 28 } 29 30 double getZ() 31 { 32 return z; 33 } 34};