public static CCPlace actionWithPosition(CCPoint pos) { CCPlace cCPlace = new CCPlace(); if (cCPlace != null && cCPlace.initWithPosition(pos)) { return(cCPlace); } return(null); }
public static CCPlace actionWithPosition(CCPoint pos) { CCPlace pRet = new CCPlace(); if (pRet != null && pRet.initWithPosition(pos)) { return pRet; } return null; }
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; }
public override CCObject copyWithZone(CCZone pZone) { CCPlace cCPlace = null; if (pZone == null || pZone.m_pCopyObject == null) { cCPlace = new CCPlace(); pZone = new CCZone(cCPlace); } else { cCPlace = (CCPlace)pZone.m_pCopyObject; } base.copyWithZone(pZone); cCPlace.initWithPosition(this.m_tPosition); return(cCPlace); }
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); }