Exemple #1
0
 public static string getFragmentSpriteName(IFragment _frag)
 {
     switch (_frag.GetFragType())
     {
     case FragmentType.Guard: return(GetGuardFragSpriteName(_frag.ID));
     }
     throw new System.Exception("no but try get it");
 }
 public FragmentType GetFragmentType()
 {
     return(ItemFragment.GetFragType());
 }