Esempio n. 1
0
 public void FixedExecute(float deltaTime)
 {
     _newVelocity = _aiModel.CalculateVelocity(_view.transform.position) * deltaTime;
     _view.Rigidbody2D.velocity = _newVelocity;
     MakeTurn();
     _animator.Execute(deltaTime);
 }
Esempio n. 2
0
 public void FixedExecute(float deltaTime) => _playerAnimator.Execute(deltaTime);
Esempio n. 3
0
 public void Execute(float deltaTime) => _coinsAnimator.Execute(deltaTime);