public EaseVector2Animation(IVector2Animatable animatable, Vector2 posInicial, Vector2 posFinal, int duracao, double power, int aguardar)
     : base(animatable, duracao, aguardar)
 {
     PosInicial = posInicial;
     PosFinal   = posFinal;
     Power      = power;
 }
 public SimpleVector2Animation(IVector2Animatable animatable, Vector2 posInicial, Vector2 posFinal, int duracao, int aguardar)
     : base(animatable, duracao, aguardar)
 {
     PosInicial = posInicial;
     PosFinal   = posFinal;
 }
 public SimpleVector2Animation(IVector2Animatable animatable, Vector2 posInicial, Vector2 posFinal, int duracao)
     : this(animatable, posInicial, posFinal, duracao, 0)
 {
 }
 public SimpleVector2Animation(IVector2Animatable animatable, Vector2 posInicial, Vector2 posFinal, TimeSpan duracao, TimeSpan aguardar)
     : this(animatable, posInicial, posFinal, (int)duracao.TotalMilliseconds, (int)aguardar.TotalMilliseconds)
 {
 }
 public EaseVector2Animation(IVector2Animatable animatable, Vector2 posInicial, Vector2 posFinal, int duracao, double power)
     : this(animatable, posInicial, posFinal, duracao, power, 0)
 {
 }
 protected Vector2Animation(IVector2Animatable animatable, int duracao, int aguardar)
     : base(animatable, duracao, aguardar)
 {
     Animatable = animatable;
 }
Esempio n. 7
0
 public ShakeAnimation(IVector2Animatable animatable, Vector2 posInicial, Vector2 shakeAmmount, int duracao, int aguardar)
     : base(animatable, duracao, aguardar)
 {
     PosInicial   = posInicial;
     ShakeAmmount = shakeAmmount;
 }
Esempio n. 8
0
 public ShakeAnimation(IVector2Animatable animatable, Vector2 posInicial, Vector2 shakeAmmount, int duracao)
     : this(animatable, posInicial, shakeAmmount, duracao, 0)
 {
 }
Esempio n. 9
0
 public ShakeAnimation(IVector2Animatable animatable, Vector2 posInicial, Vector2 shakeAmmount, TimeSpan duracao, TimeSpan aguardar)
     : this(animatable, posInicial, shakeAmmount, (int)duracao.TotalMilliseconds, (int)aguardar.TotalMilliseconds)
 {
 }