public static CCPlace actionWithPosition(CCPoint pos) { CCPlace pRet = new CCPlace(); if (pRet != null && pRet.initWithPosition(pos)) { return(pRet); } return(null); }
public override CCObject copyWithZone(CCZone pZone) { CCZone pNewZone = null; CCPlace pRet = null; if (pZone != null && pZone.m_pCopyObject != null) { pRet = (CCPlace)(pZone.m_pCopyObject); } else { pRet = new CCPlace(); pZone = pNewZone = new CCZone(pRet); } base.copyWithZone(pZone); pRet.initWithPosition(m_tPosition); return(pRet); }