2023-04-25 13:15:39 +00:00
|
|
|
#ifndef INTERFACE_H
|
|
|
|
#define INTERFACE_H
|
|
|
|
|
|
|
|
class Interface
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
public:
|
2023-04-26 12:39:59 +00:00
|
|
|
virtual ~Interface();
|
|
|
|
virtual int x() const = 0;
|
|
|
|
virtual int y() const = 0;
|
|
|
|
virtual void move(int, int) = 0;
|
2023-04-25 13:15:39 +00:00
|
|
|
};
|
|
|
|
#endif
|