public void Update() { var target = _monsterDirection.TargetPosition; if (_monsterDirection.MonsterReachedTargetPosition()) { SelectNewDirectionToMove(); } MoveTowardsTheTargetPosition(); }