コード例 #1
0
ファイル: formation.cpp プロジェクト: 2asoft/xray
RefTargetHandle FormationBhvr::Clone(RemapDir& remap) 
{
	FormationBhvr* newformation = new FormationBhvr();	
	newformation->ReplaceReference(PBLK,pblock->Clone(remap));

	return(newformation);
}
コード例 #2
0
ファイル: formation.cpp プロジェクト: innovatelogic/ilogic-vm
RefTargetHandle FormationBhvr::Clone(RemapDir& remap) 
{
	FormationBhvr* newformation = new FormationBhvr();	
	newformation->ReplaceReference(PBLK,remap.CloneRef(pblock));
	BaseClone(this, newformation, remap);

	return(newformation);
}