Exemplo n.º 1
0
        public SequenceAction AddAction(ActionBase action)
        {
            if (action == null)
            {
                return(this);
            }

            action._SetOwner(this);
            actions_.Add(action);
            return(this);
        }
Exemplo n.º 2
0
        public ParallelAction AddAction(ActionBase action)
        {
            if (action == null)
            {
                return(this);
            }

            action._SetOwner(this);
            actions_.Add(action);
            playStates_.Add(PlayState.INCOMPLETE);
            return(this);
        }
Exemplo n.º 3
0
 public RepeatAction SetAction(ActionBase action)
 {
     action._SetOwner(this);
     action_ = action;
     return(this);
 }