protected override void SpecificCommandCreation(Action <IStopCommand> creationCallback) { creationCallback?.Invoke(_context.Inject(new HoldPositionCommand())); }
private void OnChangeValue(Vector3 groundClick) { _creationCallback?.Invoke(_context.Inject(new PatrolCommand(_selectable.CurrentValue.Transform.position, groundClick))); _creationCallback = null; }
private void OnChangeValue(Vector3 groundClick) { _creationCallback?.Invoke(_context.Inject(new MoveUnitCommand(groundClick))); _creationCallback = null; }
protected override void SpecificCommandCreation(Action <IProduceUnitCommand> creationCallback) { creationCallback?.Invoke(_context.Inject(new ProduceUnitCommandHeir())); }
private void OnChangeValue(IAttackable attackTargetClicks) { _creationCallback?.Invoke(_context.Inject(new AttackCommand(attackTargetClicks))); _creationCallback = null; }