Example #1
0
        public Frame CreateChild(string name, IGraphicsProvider component)
        {
            var node = new Frame(name, component);

            _nodes.Add(node);
            return(node);
        }
Example #2
0
 public Automata AddState(string name, Action <float> update)
 {
     _states.Add(new DelegateState(name, update));
     return(this);
 }
Example #3
0
 public SecuenceStateMachine WithState(SecuenceNode node)
 {
     _nodes.Add(node);
     node.Id = _nodes.Count - 1;
     return(this);
 }