13 lines
210 B
C++
13 lines
210 B
C++
#ifndef INTERFACE_H
|
|
#define INTERFACE_H
|
|
|
|
class Interface
|
|
{
|
|
private:
|
|
public:
|
|
virtual ~Interface();
|
|
virtual int x() const = 0;
|
|
virtual int y() const = 0;
|
|
virtual void move(int, int) = 0;
|
|
};
|
|
#endif |