public ResetTimeoutNode( IActorStateModel actorStateModel, TimeoutDataComponent.Storage storage) { _storage = storage; _timeoutDataComponent = actorStateModel.Get <TimeoutDataComponent>(); }
public FollowAvatarNode(IActorStateModel actorStateModel) { _actorStateModel = actorStateModel; _blackBoard = _actorStateModel.Get <BlackBoardDataComponent>(); _sensorDataComponent = _actorStateModel.Get <SensorDataComponent>(); _transformDataComponent = _actorStateModel.Get <TransformDataComponent>(); _timeoutDataComponent = _actorStateModel.Get <TimeoutDataComponent>(); }
public IdleTimeoutNode( IActorStateModel actor, double timeoutSeconds, TimeoutDataComponent.Storage storage) { _timeoutDataComponent = actor.Get <TimeoutDataComponent>(); _timeoutSeconds = timeoutSeconds; _storage = storage; }
public IdleTimeoutRandomNode( IActorStateModel actor, double timeoutSeconds, TimeoutDataComponent.Storage storage, double randomChance) { _timeoutDataComponent = actor.Get <TimeoutDataComponent>(); _timeoutSeconds = timeoutSeconds; _storage = storage; _randomChance = randomChance; }