blob: c910a260aaa1e713b4b347e92e7e61119cc594e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "SetPathfindingEndPointCommand.h"
#include "Museum.h"
SetPathfindingEndPointCommand::SetPathfindingEndPointCommand(Museum & m, const XY & point) : museum(m) {
this->point = point;
}
void SetPathfindingEndPointCommand::execute() {
this->museum.pathfinding.set_end(this->point);
}
|