public slideX(float initialX, float targetX, float duration, SmartUI.TweenTypes type) { this.initialX = initialX; this.targetX = targetX; this.duration = duration * 1000; this.type = type; }
public slideY(float initialY, float targetY, float duration, SmartUI.TweenTypes type) { this.initialY = initialY; this.targetY = targetY; this.duration = duration * 1000; this.type = type; }
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; }