private void ProcessMovement() { if (!movingToPointOne) // TODO CHANGE DEPENDING ON THE LOOK DIRECTION { aIMovement.SetMoveLeft(false); } if (movingToPointOne) { aIMovement.SetMoveLeft(true); } }
private void FollowTarget()//TODO MAKE MOVEMENT CONTROLLER FOR NPCS { if (targetIsLeft) { aIMovement.SetMoveLeft(true); } else { aIMovement.SetMoveLeft(false); } }