/* * Action.cpp * * Created on: Dec 8, 2009 * Author: crueger */ #include #include "Actions/Action.hpp" #include "Actions/ActionRegistry.hpp" using namespace std; Action::Action(std::string _name,bool _doRegister) : name(_name) { if(_doRegister){ ActionRegistry::getInstance().registerAction(this); } } Action::~Action() {} const string Action::getName(){ return name; }