private void Update() { var input = _currentInput.GetInput(); _move?.Move(input); _attack?.Attack(input); _find?.FindTarget(input); }
public void Move(float horizontal, float vertical, float deltaTime) { _move.Move(horizontal, vertical, deltaTime); }
public override void MyUpdate() { _unit.Move(); }
public void Move() { moveBehaviour.Move(); }
public void Move() // <-- Method to call the abstracted Behavior. { MovementType.Move(); // <-- Behavior being called. }
public void Execute(float deltaTime) { _move.Move(_target.position); }
void Update() { iMover.Move(controller); }
static void ShowHowMove(IMove obj) { obj.Move(); }
private void Update() { _paddle?.Move(input.Value); }
public void Move() { _move.Move(); }
public void Go() { move.Move(); }
private void Update() { IMover.Move(controller); }
private void Update() { _moveMech.CurrentSpeedState = Movement.SpeedState.WALK; _moveMech.Move(transform.right); }
public void Move(float horizontal, float vertical, float deltaTime) { _moveImplementation.Move(horizontal, vertical, deltaTime); }
/// <summary> /// Person moving /// </summary> public void Move() { Console.Write("{0} is moving on ", name); move.Move(); }
private void Update() => _movement.Move(transform, _weapon.GetBulletSpeed());
void MoveAnimimal(IMove move) { move.Move(); }
//Standard method used to move object public void Move(GameObject go, bool left, bool right, bool up, bool down, int gameWidth, int gameHeight) { go_m.Move(go, left, right, up, down, gameWidth, gameHeight); }
public void PerformMove() { mover.Move(this); }
public void Update(float time) { characterController.Move(controller.InputInfo.MovementPosX, controller.InputInfo.MovementPosY, movementSpeed, time); }
public void CreateEnemy(List <ICell> cells, GameObject go) { IMove move = Instantiate(go, SpawnPoint.position, Quaternion.identity).GetComponent <IMove>(); move.Move(cells); }
public void Move(IMove imover) { imover.Move(this, ButtonsTraversed.Last()); }
// private void Control() // { // //TODO: Класс управления для считывания нажаний клавиш в графическом движке // movement.AccelerationUp = Input.GetAxis("Vertical"); // movement.AccelerationRight = Input.GetAxis("Horizontal"); // if(Input.GetButton("Run")) movement.Run(states.SpeedUp()); // } public void Action() { movement.Move(0); // Control(); }