#ifndef ACTIONENDORDER_H
#define ACTIONENDORDER_H

#include "Unit.h"
#include "UnitAction.h"
//#include <string>

#include "MemoryManager/debugNew.h"
class ActionEndOrder :
	public UnitAction
{
private:
	bool hasNotified;
	std::string debugOrderName;

public:
	ActionEndOrder(Unit * u, unitEnumeration::UnitState state, std::string debugInfo = "");
	~ActionEndOrder(void);

	/**
	 * Notifies the group in which the unit is,
	 * that it has finished order execution
	 */
	void execute();
};

#include "MemoryManager/debugNewOff.h"

#endif

