mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 00:04:11 +00:00
23 lines
357 B
C++
23 lines
357 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; }
|
|
}; |