예제 #1
0
 private void CellMouseBTNUp(EventMgr.MouseButtonUpEventInfo info)
 {
     if (player == null)
     {
         return;
     }
     if (GameCtrl.IsOnlineGame)
     {
         lock (castingMutex)
         {
             if (expectedCasting)
             {
                 expectedCasting = false;
                 DataSync.SyncMouseButton0Up(player, Gamef.SystemTimeInMillisecond);
             }
         }
     }
     else
     {
         skillTable.CurrentCell.SetInstant(Gamef.SystemTimeInMillisecond);
         skillTable.CurrentCell.Stop();
     }
 }
예제 #2
0
 private void CellMouseBTNUp(EventMgr.MouseButtonUpEventInfo info)
 {
     SkillCells[currentSkillNum - 1].OnMouseButtonUp();
 }