So my goal is simple, I want to have an x and y in the base class, and then have my other class own those values as well
class Skeleton
{
private:
    float x, y;
public:
    Skeleton(float x, float y);
};
class Object : Skeleton
{
    float getX() const
    {
        return x;
    }
};
By the way, I'm sort of new to C++ I come from Java and want to learn C++!
 
     
    