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; }
public void changeDirection(nasoka d) { dir = d; if (dir == nasoka.left) { img = Resources.thor_left; } if (dir == nasoka.right) { img = Resources.thor_right; } }