Exemplo n.º 1
0
 public IBehaviourGroup GetGroup(string name)
 {
     if (!groups.TryGetValue(name, out var group))
     {
         group = new BehaviourGroup(world, name);
         groups.Add(name, group);
     }
     return(group);
 }
Exemplo n.º 2
0
 public BehaviourSlot(BehaviourGroup group, IBehaviour behaviour)
 {
     this.group     = group;
     this.behaviour = behaviour;
 }