Ejemplo n.º 1
0
 public BoneStatus GetBoneStatus(int source, int unitId, int frame)
 {
     if (source == 0)
     {
         if (CharCommon.ContainsKey(frame))
         {
             return(CharCommon[frame]);
         }
     }
     else if (source == 1)
     {
         if (PlayerAnimation.ContainsKey(unitId) && PlayerAnimation[unitId].ContainsKey(frame))
         {
             return(PlayerAnimation[unitId][frame]);
         }
     }
     return(null);
 }
Ejemplo n.º 2
0
 public void Clear()
 {
     CharCommon.Clear();
     PlayerAnimation.Clear();
 }