11 PickUpAction(std::chrono::system_clock::time_point startTime,
Coordinates target, std::shared_ptr<Entity> pEntity,
int targetItemId);
Action used for moving.
Definition: MoveAction.hpp:12
Special case of MoveAction where, at the end, the actor picks up an item.
Definition: PickUpAction.hpp:9
int targetItemIdM
Definition: PickUpAction.hpp:18
PickUpAction(std::chrono::system_clock::time_point startTime, Coordinates target, std::shared_ptr< Entity > pEntity, int targetItemId)
Definition: PickUpAction.cpp:5
void act()
Movement functionality, which finds the shortest path to target location and performs the movement th...
Definition: PickUpAction.cpp:8
Struct for coordinates.
Definition: Coordinates.hpp:7