Пример #1
0
 public slideX(float initialX, float targetX, float duration, SmartUI.TweenTypes type)
 {
     this.initialX = initialX;
     this.targetX  = targetX;
     this.duration = duration * 1000;
     this.type     = type;
 }
Пример #2
0
 public slideY(float initialY, float targetY, float duration, SmartUI.TweenTypes type)
 {
     this.initialY = initialY;
     this.targetY  = targetY;
     this.duration = duration * 1000;
     this.type     = type;
 }
Пример #3
0
 public resize(float initialW, float targetW, float initialH, float targetH, float duration, SmartUI.TweenTypes type)
 {
     this.initialW = initialW;
     this.targetW  = targetW;
     this.initialH = initialH;
     this.targetH  = targetH;
     this.duration = duration * 1000;
     this.type     = type;
 }