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