Example #1
0
 public void StartPlay()
 {
     if (Go.tweensWithId(displayingTurn) == null)
     {
         return;
     }
     foreach (AbstractGoTween t in Go.tweensWithId(displayingTurn))
     {
         t.play();
     }
 }
Example #2
0
 static public int tweensWithId_s(IntPtr l)
 {
     try {
         System.Int32 a1;
         checkType(l, 1, out a1);
         var ret = Go.tweensWithId(a1);
         pushValue(l, ret);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #3
0
 public void FinishAll()
 {
     while (displayingTurn < currentTurn)
     {
         if (Go.tweensWithId(displayingTurn) != null)
         {
             foreach (AbstractGoTween t in Go.tweensWithId(displayingTurn))
             {
                 t.complete();
             }
         }
         displayingTurn++;
     }
 }
Example #4
0
 void Update()
 {
     if (Go.tweensWithId(displayingTurn) == null || Go.tweensWithId(displayingTurn).Count == 0)
     {
         if (displayingTurn < currentTurn)
         {
             displayingTurn++;
             if (Go.tweensWithId(displayingTurn) == null)
             {
                 return;
             }
             foreach (AbstractGoTween t in Go.tweensWithId(displayingTurn))
             {
                 t.play();
             }
         }
     }
 }