Exemplo n.º 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);
                }
            }
        }
Exemplo n.º 2
0
 public void Pretend(Bubble other)
 {
     view.Refresh(other.Score);
     movement.Teleport(other.transform.position);
 }