示例#1
0
 protected virtual void Start()
 {
     Map          = MapStore.GetMap(Scale, _unit.Fraction);
     DefaultState = new Watching(new MovementHelper(_unit, Map), new TargetingHelper(_unit, Map),
                                 _unit, Map, FindObjectOfType <VisionStore>().GetVisionObserver(_unit),
                                 null);
 }
示例#2
0
 public NextStateBuilder(CognitionState parentState)
 {
     _parentState = parentState;
 }
示例#3
0
 public CognitionState AndChangeStateTo(CognitionState nextState)
 {
     return(nextState);
 }