コード例 #1
0
 public EaseVector2Animation(IVector2Animatable animatable, Vector2 posInicial, Vector2 posFinal, int duracao, double power, int aguardar)
     : base(animatable, duracao, aguardar)
 {
     PosInicial = posInicial;
     PosFinal   = posFinal;
     Power      = power;
 }
コード例 #2
0
 public SimpleVector2Animation(IVector2Animatable animatable, Vector2 posInicial, Vector2 posFinal, int duracao, int aguardar)
     : base(animatable, duracao, aguardar)
 {
     PosInicial = posInicial;
     PosFinal   = posFinal;
 }
コード例 #3
0
 public SimpleVector2Animation(IVector2Animatable animatable, Vector2 posInicial, Vector2 posFinal, int duracao)
     : this(animatable, posInicial, posFinal, duracao, 0)
 {
 }
コード例 #4
0
 public SimpleVector2Animation(IVector2Animatable animatable, Vector2 posInicial, Vector2 posFinal, TimeSpan duracao, TimeSpan aguardar)
     : this(animatable, posInicial, posFinal, (int)duracao.TotalMilliseconds, (int)aguardar.TotalMilliseconds)
 {
 }
コード例 #5
0
 public EaseVector2Animation(IVector2Animatable animatable, Vector2 posInicial, Vector2 posFinal, int duracao, double power)
     : this(animatable, posInicial, posFinal, duracao, power, 0)
 {
 }
コード例 #6
0
 protected Vector2Animation(IVector2Animatable animatable, int duracao, int aguardar)
     : base(animatable, duracao, aguardar)
 {
     Animatable = animatable;
 }
コード例 #7
0
 public ShakeAnimation(IVector2Animatable animatable, Vector2 posInicial, Vector2 shakeAmmount, int duracao, int aguardar)
     : base(animatable, duracao, aguardar)
 {
     PosInicial   = posInicial;
     ShakeAmmount = shakeAmmount;
 }
コード例 #8
0
 public ShakeAnimation(IVector2Animatable animatable, Vector2 posInicial, Vector2 shakeAmmount, int duracao)
     : this(animatable, posInicial, shakeAmmount, duracao, 0)
 {
 }
コード例 #9
0
 public ShakeAnimation(IVector2Animatable animatable, Vector2 posInicial, Vector2 shakeAmmount, TimeSpan duracao, TimeSpan aguardar)
     : this(animatable, posInicial, shakeAmmount, (int)duracao.TotalMilliseconds, (int)aguardar.TotalMilliseconds)
 {
 }