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