private void GatherBehaviours(IBehaviourGroup group) { foreach (var groupBehaviour in group.Behaviours) { AddBehaviour(groupBehaviour); } }
public World() { Entities = new EntityGroup(); Behaviours = new BehaviourGroup(this, "Root"); }
public IBehaviourTreeBuilder With(IBehaviourGroup group) { GatherBehaviours(group); return(this); }