Example #1
0
	Character Construct()
	{
		Character c;
		c += builder->makeHat();
		c += builder->makeUniform();
		c += builder->makeShoes();
		return c;
	}
	// 아래 함수가 캐릭터를 만들어서 리턴하는 함수입니다.
	string construct()
	{
		pBuilder->makeHat();
		pBuilder->makeShoes();
		pBuilder->makeUniform();

		return pBuilder->getResult();
	}