コード例 #1
0
 public thor(int heught, int witdh)
 {
     center = new Point((witdh / 2) - 80, heught - 170);
     img    = Resources.thor_right;
     //limg = Resources.lthor;
     alive = true;
     dir   = nasoka.stop;
 }
コード例 #2
0
 public void changeDirection(nasoka d)
 {
     dir = d;
     if (dir == nasoka.left)
     {
         img = Resources.thor_left;
     }
     if (dir == nasoka.right)
     {
         img = Resources.thor_right;
     }
 }