#pragma once
#include "Vector.h"
class AbstractFigure
{
public:
virtual void Scale() = 0;
virtual void Rotate() = 0;
virtual void Move(Vector direction) = 0;
};
#pragma once
#include "AbstractFigure.h"
class Point :
public AbstractFigure
{
public:
Point();
~Point();
// Inherited via AbstractFigure
virtual void Scale() override;
virtual void Rotate() override;
virtual void Move(Vector direction) override;
};
#pragma once
#include "AbstractFigure.h"
class Vector :
public AbstractFigure
{
public:
Vector();
~Vector();
// Inherited via AbstractFigure
virtual void Scale() override;
virtual void Rotate() override;
virtual void Move(Vector direction) override;
};
Ошибки C2504 'AbstractFigure': base class undefined