Esempio n. 1
0
 public override IAction Reverse()
 {
     if (m_one != null && m_two != null)
     {
         return(CCActionSpawn.CreateWithTwoActions(m_one.Reverse() as IFiniteTimeAction, m_two.Reverse() as IFiniteTimeAction));
     }
     return(null);
 }
Esempio n. 2
0
        public static CCActionSpawn CreateWithTwoActions(IFiniteTimeAction actionOne, IFiniteTimeAction actionTwo)
        {
            CCActionSpawn spawn = new CCActionSpawn();

            if (spawn != null && spawn.InitWithTwoActions(actionOne, actionTwo))
            {
                return(spawn);
            }
            return(null);
        }
Esempio n. 3
0
 public static ActionInterval CCSpawn(ActionInterval action1, params ActionInterval[] args)
 {
     return(CCActionSpawn.Create(action1, args));
 }