public virtual void startWithTarget(Node pTarget) { base.StartWithTarget(pTarget); if (Target.Grid != null && Target.Grid.Active != null) { Target.Grid.ReuseGrid = Target.Grid.ReuseGrid + m_nTimes; } }
public override void StartWithTarget(Node pTarget) { base.StartWithTarget(pTarget); CCGridBase pGrid = Target.Grid; if (pGrid != null && pGrid.Active) { pGrid.Active = false; } }
public override void StartWithTarget(Node pTarget) { base.StartWithTarget(pTarget); ICCRGBAProtocol pRGBAProtocol = pTarget as ICCRGBAProtocol; if (pRGBAProtocol != null) { m_fromOpacity = pRGBAProtocol.Opacity; } }
public override void StartWithTarget(Node target) { base.StartWithTarget(target); m_split = m_pActions[0].Duration / Duration; m_last = -1; }
/// <summary> /// called after the action has finished. It will set the 'target' to nil. /// IMPORTANT: You should never call "[action stop]" manually. Instead, use: "target->stopAction(action);" /// </summary> public virtual void Stop() { this.Target = null; }
/// <summary> /// called before the action start. /// It will also set the target. /// </summary> public virtual void StartWithTarget(Node target) { this.OriginalTarget = target; this.Target = target; }
public override void AddChild(Node child, int zOrder, int tag) { Debug.Assert(child != null); CCSprite pSprite = child as CCSprite; if (pSprite == null) { return; } // check CCSprite is using the same texture id //Debug.Assert(pSprite.Texture.Name == m_pobTextureAtlas.Texture.Name); base.AddChild(child, zOrder, tag); int uIndex = atlasIndexForChild(pSprite, zOrder); insertChild(pSprite, uIndex); }
public override void StartWithTarget(Node pTarget) { base.StartWithTarget(pTarget); CCSprite pSprite = (CCSprite)(pTarget); if (m_bRestoreOriginalFrame) { // original code : m_pOrigFrame = pSprite->displayedFrame(); m_pOrigFrame = pSprite.DisplayFrame; } }
public override void StartWithTarget(Node pTarget) { int i; base.StartWithTarget(pTarget); if (m_nSeed != -1) { random.Next(m_nSeed); } m_nTilesCount = m_sGridSize.x * m_sGridSize.y; m_pTilesOrder = new int[m_nTilesCount]; for (i = 0; i < m_nTilesCount; ++i) { m_pTilesOrder[i] = i; } shuffle(m_pTilesOrder, m_nTilesCount); }
public override void StartWithTarget(Node pTarget) { base.StartWithTarget(pTarget); ((CCSprite)(pTarget)).IsFlipX = m_bFlipX; }
public override void StartWithTarget(Node target) { base.StartWithTarget(target); m_pInnerAction.StartWithTarget(target); }
protected void startWithTargetUsedByCCOrbitCamera(Node target) { base.StartWithTarget(target); m_elapsed = 0.0f; m_bFirstTick = true; }
public override void StartWithTarget(Node target) { base.StartWithTarget(target); m_elapsed = 0.0f; m_bFirstTick = true; }
public override void StartWithTarget(Node pTarget) { base.StartWithTarget(pTarget); m_pOther.StartWithTarget(pTarget); }
public override void StartWithTarget(Node target) { base.StartWithTarget(target); m_pOne.StartWithTarget(target); m_pTwo.StartWithTarget(target); }
public override void StartWithTarget(Node pTarget) { base.StartWithTarget(pTarget); pTarget.Visible = false; }
//super methods public override void StartWithTarget(Node pTarget) { base.StartWithTarget(pTarget); execute(); }