Example #1
0
 /// <summary>
 /// 初始化状态
 /// </summary>
 protected void Initial()
 {
     state   = new PlayerState(info);
     action  = new PlayerAction(this);
     request = new PlayerRequest(this);
     trigger = new PlayerTrigger(this);
     //process = new PlayerProcess(this);
     function = new PlayerFunction(this);
     //AIsvr = new AIProcessService(this);
 }
Example #2
0
 public void SetTrigger(IPlayerTrigger trigger)
 {
     this.trigger = trigger;
 }
 void OnTriggered(IPlayerTrigger _, TriggerEventArgs args) => OnTriggered(args);