1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "fsITutorialEnabledComponent.h"
#include "fsCNameComponent.h"

fsStr fsITutorialEnabledComponent::associatedEntityNameGet(fsCEntity* const pEnt)<--- Parameter 'pEnt' can be declared as pointer to const
{
	fsStr sansTutPrefix = fsCNameComponent::get(pEnt)->nameSansSuffixGet();
	sansTutPrefix.erase(0, sansTutPrefix.find("-") + 1);
	sansTutPrefix += ".png";
	return sansTutPrefix;
}

void fsITutorialEnabledComponent::tutorialCompleted(const fsPoint& pPos)
{
	tutorialCompletedDo(pPos);
}

fsITutorialEnabledComponent::fsITutorialEnabledComponent()
{
}

fsITutorialEnabledComponent::~fsITutorialEnabledComponent()
{
}