public override object Copy(ICopyable pZone) { CCJumpTiles3D pCopy; if (pZone != null) { pCopy = (CCJumpTiles3D) (pZone); } else { pCopy = new CCJumpTiles3D(); pZone = (pCopy); } base.Copy(pZone); pCopy.InitWithJumps(m_nJumps, m_fAmplitude, m_sGridSize, m_fDuration); return pCopy; }
public override object Copy(ICopyable pZone) { CCJumpTiles3D pCopy; if (pZone != null) { pCopy = (CCJumpTiles3D)(pZone); } else { pCopy = new CCJumpTiles3D(); pZone = (pCopy); } base.Copy(pZone); pCopy.InitWithJumps(m_nJumps, m_fAmplitude, m_sGridSize, m_fDuration); return(pCopy); }