Exemple #1
0
        public CCSpawnState(CCSpawn action, CCNode target)
            : base(action, target)
        {
            ActionOne = action.ActionOne;
            ActionTwo = action.ActionTwo;

            ActionStateOne = (CCFiniteTimeActionState)ActionOne.StartAction(target);
            ActionStateTwo = (CCFiniteTimeActionState)ActionTwo.StartAction(target);
        }
Exemple #2
0
        public JSpawnState(JSpawn action, GameObject target)
            : base(action, target)
        {
            ActionOne = action.ActionOne;
            ActionTwo = action.ActionTwo;

            ActionStateOne = (JFiniteTimeActionState)ActionOne.StartAction(target);
            ActionStateTwo = (JFiniteTimeActionState)ActionTwo.StartAction(target);
        }