public void chgDir()
	{
		switch(dir)
		{
			case 0:
				sprt = img1.getImage();
				if(Game.tickCount2 == game.DELAY){
					dir = 1;
				}
				break;
			case 1:
				sprt = img2.getImage();
				if(Game.tickCount2 == game.DELAY){
					dir = 0;
				}
				break;
			case 2:
				sprt = img3.getImage();
				if(Game.tickCount2 == game.DELAY){
					dir = 3;
				}
				break;
			case 3:
				sprt = img4.getImage();
				if(Game.tickCount2 == game.DELAY){
					dir = 2;
				}
				break;
		}
	}