public override void onEnter() { base.onEnter(); alignSpritesLeft(2); CCActionInterval a1 = CCMoveBy.actionWithDuration(1, new CCPoint(150, 0)); CCActionInterval action1 = CCRepeat.actionWithAction( CCSequence.actions(CCPlace.actionWithPosition(new CCPoint(60, 60)), a1), 3); CCAction action2 = CCRepeatForever.actionWithAction( (CCActionInterval)(CCSequence.actions((CCActionInterval)(a1.copy()), a1.reverse())) ); m_kathia.runAction(action1); m_tamara.runAction(action2); }
public override object Copy(ICopyable pZone) { CCPlace pRet; if (pZone != null) { pRet = (CCPlace)(pZone); } else { pRet = new CCPlace(); pZone = (pRet); } base.Copy(pZone); pRet.InitWithPosition(m_tPosition); return(pRet); }
public override object Copy(ICopyable pZone) { CCPlace pRet; if (pZone != null) { pRet = (CCPlace) (pZone); } else { pRet = new CCPlace(); pZone = (pRet); } base.Copy(pZone); pRet.InitWithPosition(m_tPosition); return pRet; }
public override void onEnter() { base.onEnter(); alignSpritesLeft(1); m_grossini.visible = false; CCFiniteTimeAction action = CCSequence.actions( CCPlace.actionWithPosition(new CCPoint(200, 200)), CCShow.action(), CCMoveBy.actionWithDuration(1, new CCPoint(100, 0)), CCCallFunc.actionWithTarget(this, new SEL_CallFunc(callback1)), CCCallFuncN.actionWithTarget(this, new SEL_CallFuncN(callback2)), CCCallFuncND.actionWithTarget(this, new SEL_CallFuncND(callback3), (object)0xbebabeba)); m_grossini.runAction(action); }
protected CCPlace(CCPlace place) : base(place) { InitWithPosition(m_tPosition); }
public CCPlaceState (CCPlace action, CCNode target) : base (action, target) { Target.Position = action.Position; }
public CCPlaceState(CCPlace action, CCNode target) : base(action, target) { Target.Position = action.Position; }