#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); }