mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-24 13:28:13 +05:00
34 lines
328 B
C++
34 lines
328 B
C++
#pragma once
|
|
|
|
#include "Position.h"
|
|
|
|
class PositionImpl : public Position
|
|
{
|
|
protected:
|
|
double x;
|
|
double y;
|
|
double z;
|
|
|
|
public:
|
|
PositionImpl(double x, double y, double z)
|
|
{
|
|
this->x = x;
|
|
this->y = y;
|
|
this->z = z;
|
|
}
|
|
|
|
double getX()
|
|
{
|
|
return x;
|
|
}
|
|
|
|
double getY()
|
|
{
|
|
return y;
|
|
}
|
|
|
|
double getZ()
|
|
{
|
|
return z;
|
|
}
|
|
}; |