Ejemplo n.º 1
0
GameObjectPtr LightType::createInstance(void)
{
	LightPtr newLight = new Light;
	if(!newLight)
		return(nullptr);
	newLight->init(true, this);
	return(newLight);
}