コード例 #1
0
ファイル: TweenWorker.cs プロジェクト: galaxyyao/TouhouGrave
 public TweenWorker(DisplayObject obj, TweenState endState,  int milliseconds)
 {
     this.target = obj;
     this.StartState = new TweenState(obj);
     this.EndState = endState;
     this.duration = milliseconds;
 }
コード例 #2
0
ファイル: TweenWorker.cs プロジェクト: galaxyyao/TouhouGrave
 public TweenWorker(TweenState startState, TweenState endState,  int milliseconds, EasingFormula easingFormula)
 {
     this.StartState = startState;
     this.EndState = endState;
     this.duration = milliseconds;
     this.easingFormula = easingFormula;
 }
コード例 #3
0
ファイル: TweenWorker.cs プロジェクト: galaxyyao/TouhouGrave
 public TweenWorker(DisplayObject obj, TweenState endState,  int milliseconds, EasingFormula easingFormula)
 {
     this.target = obj;
     this.StartState = new TweenState(obj);
     this.EndState = endState;
     this.duration = milliseconds;
     this.easingFormula = easingFormula;
 }
コード例 #4
0
ファイル: DisplayObject.cs プロジェクト: Hamsand/Swf2XNA
 public TweenWorker AnimateTo(TweenState destination, int milliseconds)
 {
     if (tweenWorker != null)
     {
         tweenWorker.End();
     }
     tweenWorker = new TweenWorker(this, destination, milliseconds);
     return tweenWorker;
 }
コード例 #5
0
ファイル: TweenWorker.cs プロジェクト: galaxyyao/TouhouGrave
 public TweenWorker(TweenState startState, TweenState endState,  int milliseconds)
 {
     this.StartState = startState;
     this.EndState = endState;
     this.duration = milliseconds;
 }
コード例 #6
0
 public TweenWorker(TweenState startState, TweenState endState, int milliseconds)
 {
     this.StartState = startState;
     this.EndState   = endState;
     this.duration   = new TimeSpan(0, 0, 0, 0, milliseconds);
 }
コード例 #7
0
ファイル: TweenWorker.cs プロジェクト: Hamsand/Swf2XNA
 public TweenWorker(TweenState startState, TweenState endState,  int milliseconds)
 {
     this.StartState = startState;
     this.EndState = endState;
     this.duration = new TimeSpan(0, 0, 0, 0, milliseconds);
 }