/// <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); }
public void SetFunction(IPlayerFunction function) { this.function = function; }