9 lines
116 B
C++
9 lines
116 B
C++
#include "pawn.h"
|
|
|
|
void pawn::move(int x, int y)
|
|
{
|
|
this->x = x;
|
|
this->y = y;
|
|
first_move_flag = false;
|
|
}
|