Do I still need a .h and .cpp for normal c++ classes?
I’ve got this atm as my .h:
namespace ActionEnums
{
enum ActionType
{
Movement,
Combat,
Other
};
}
class Action
{
ActionEnums::ActionType CurrentActionType;
};
and this as my .cpp:
#include "The_Battle_of_Maldon.h"
#include "Action.h"
Action::Action()
{
}
doesn’t like me doing Action::Action()?