Пример #1
0
        public void SetTarget(Vector3 position, bool instant = false)
        {
            //collector?.InsertInto(tile);

            if (movement != null)
            {
                if (instant)
                {
                    movement.Teleport(position);
                }
                else
                {
                    movement.MoveTowards(position);
                }
            }
        }
Пример #2
0
 public void Pretend(Bubble other)
 {
     view.Refresh(other.Score);
     movement.Teleport(other.transform.position);
 }