8 lines
91 B
C++
8 lines
91 B
C++
#include "knight.h"
|
|
|
|
void knight::move(int x, int y)
|
|
{
|
|
this->x = x;
|
|
this->y = y;
|
|
}
|