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); }
public static CCActionSpawn CreateWithTwoActions(IFiniteTimeAction actionOne, IFiniteTimeAction actionTwo) { CCActionSpawn spawn = new CCActionSpawn(); if (spawn != null && spawn.InitWithTwoActions(actionOne, actionTwo)) { return(spawn); } return(null); }
public static ActionInterval CCSpawn(ActionInterval action1, params ActionInterval[] args) { return(CCActionSpawn.Create(action1, args)); }