예제 #1
0
 public void run(md2 m, float r)
 {
     if (r > 20 && r < 80)
     {
         if (m.animSt.type != _3D_Models.animType.RUN)
         {
             m.StartAnimation(_3D_Models.animType.RUN);
         }
     }
 }
예제 #2
0
 public void stop(md2 m, float r)
 {
     if (r > 80)
     {
         if (m.animSt.type != _3D_Models.animType.STAND)
         {
             m.StartAnimation(_3D_Models.animType.STAND);
         }
     }
 }
예제 #3
0
 public void attack(md2 m, float r)
 {
     if (r > 0 && r < 20)
     {
         if (m.animSt.type != _3D_Models.animType.ATTACK)
         {
             m.StartAnimation(_3D_Models.animType.ATTACK);
         }
     }
 }