Exemplo n.º 1
0
 public void MoveTo(Vector2 vector)    // User should use ShowSlot after this method is done to replace the sprite
 {
     MyTween.InterpolateMethod(this, "ModifySpritePosition", initialPosition, initialPosition + vector, 0.5f);
     MyTween.Start();
 }
Exemplo n.º 2
0
 public void Change(Element e)
 {
     MyTween.InterpolateMethod(this, nameof(ModifyColor), color, RayCircle.ELEMENT_COLORS[e], 0.5f);
     MyTween.Start();
 }